changing input type from checkbox to hidden/text causes the input value to be an empty string

Won’t fix Issue #952153

Details

Created
Oct 15, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

DEMO: http://jsbin.com/molumuguzaha/4/watch

JavaScript Code:
var cb = document.createElement(‘input’);
cb.type = 'checkbox’;
cb.value = '1’;
console.log(cb.value); // “1”
cb.type = 'hidden’;
console.log(cb.value); // “”

Expected Results:

Setting Input type to ‘hidden’ (or 'text’, 'number’, etc.) does not affect the value.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To from “Amit J.” to “IE F.”

      Changed Status to “Won’t fix”

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

    Sign in