Color inputs are not set to initial value on form reset

Fixed Issue #11495672

Details

Author
David B.
Created
Apr 3, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
Forms in HTML documents

Found in build #
38.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Input elements of type color inside of a form are reset to black (#000000) when the form is reset (via reset button or method). This is regardless of the initial input value set in the HTML source or the defaultValue set via JavaScript.

The following example contains a single color input initially set to red. If the color is changed using the color picker and then the form is reset using the button, the color will reset to black instead of red.

<form>
  <input type="color" value="#FF0000">
  <br>
  <button type="reset">Reset</button>
</form>

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Ionel P.”

      Changed Status from “Confirmed” to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in