changing an input.type to text does not set the value

Fixed Issue #4079998

Details

Created
Aug 12, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

http://jsbin.com/vokoweruye/2/edit?html,js,console,output

  1. create an input element of type ‘date’ on the page and something in the ‘value’ attribute
  2. find the element using javascript and change it’s type to ‘text’
  3. input.value will be empty string but should have the value specified on the element

Expected Results:

input.value should be set to whatever is in the ‘value’ attribute after programmatically changing the type

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Eugene V.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “Bo C.”

      Changed Status from “Confirmed”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Assigned To from “Bo C.” to “Eugene V.”

      Changed Assigned To from “Eugene V.” to “IE S.”

      Changed Status from “Confirmed”

      Changed Status to “Fixed”

    • This has been fixed in our latest internal builds. We will roll out the fix as soon as possible. It does not seem that it will make it in time for RS1 but we will include it ASAP.

      Best regards,
      The MS Edge Team

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

    Sign in