HTMLSelectElement.value should be settable

Issue #778608 • Assigned to Bogdan B.


Sep 2, 2014
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

Create a simple HTML5 form with a select element and some options. Run it in IE and try to set HTMLSelectElement.value using javascript, for instance:

<button type="button" onclick="document.getElementById(‘myselect’).value=’Green car’">Change select value >></button>
<select id="myselect">
<option>Red car</option>
<option>Blue car</option>
<option>Green car</option>
<option>Yellow car</option>
<option>Microsoft car</option>

In IE it has the effect of making the elect element show empty - it works in other browsers.

Expected Results:

When HTMLSelectElement.value is set, IE native code should cycle through all <option> elements inside the <select> element and if it finds one with a matching HTMLOptionElement.value, it should set ‘HTMLOptionElement.selected = true’ on that option

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

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

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

      Changed Status to “Won’t fix”

      Changed Status from “Won’t fix” to “Fixed”

      Changed Status from “Fixed” to “Won’t fix”

      Changed Assigned To to “Travis L.”

      Changed Status from “Won’t fix”

      Changed Status to “Confirmed”

      Changed Assigned To from “Travis L.” to “Christian F.”

      Changed Assigned To from “Christian F.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Bogdan B.”

      Changed Assigned To to “Matt R.”

      Changed Status from “Won’t fix”

      Changed Assigned To to “Bogdan B.”

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

    Sign in