Input event not firing for some types of inputs

Confirmed Issue #7194628 • Assigned to Amit J.


Marc-André L.
Apr 13, 2016
This issue is public.
Reported by 6 people

Sign in to watch or report this issue.

Steps to reproduce

Per the HTML specification, the input event should be fired for "all input controls other than buttons and those with the type attribute in the Hidden state".
So (un)checking an <input type="checkbox"> or <input type="radio"> should cause an input event to be fired at the <input> element. Selecting a file in <input type="file"> should do the same.
Finally, the spec also states that making a selection in a <select> tag should also trigger an 'input' event before the change event.
They don’t currently in Edge, as you can test in this example.
Note that the spec is well thought out. When followed, one should expect at least on input event before any change event, any type of user interaction that modifies a form fire input events, etc. If Microsoft believes that it is logical or beneficial to not support the input event for radios, checkboxes, select or files, and thus not following the HTML5 standard, a rationale would be nice. The input event is invaluable to do validation right and simply. We use it for Parsley, one of the most used JS validation library.
Note that this documentation on the input event erroneously states: “You can use the oninput to detect when the contents of a textArea, input type=text, or input type=password”
That is not accurate, as many other types are currently also supported: type="color", type="email", etc.
In summary:
Supported in Edge: <textarea>, <input type=text, search, tel, url, email, password, date, time, number, range, color>
Not yet supported: <select>, <input type=checkbox, radio, file>


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Grisha L.”

      Changed Status to “Confirmed”

    • Those should respectively say “select” and "input". Apparently the tracker’s Markdown renderer or XSS filter is broken?

    • Microsoft Edge Team

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Assigned To to “Amit J.”

      Changed Assigned To from “Amit J.” to “Grisha L.”

      Changed Assigned To from “Grisha L.” to “Amit J.”

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

    Sign in