Input event not firing for some types of inputs

Confirmed Issue #7194628 • Assigned to Grisha L.


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.”

    • How has this not been fixed in three years? Just assigning back and forth? Completely ridiculous.

    • On Windows 10 build 1803 using:
      Microsoft Edge 42.17134.1.0
      Microsoft EdgeHTML 17.17134

      the OnInput event is not firing for the “text” input object.

      Ironically, on the older Edge on Windows Mobile (yes, I know, but this is just for comparison) that hasn’t progressed since 38.14393.2551.0, it works as expected (though there’s other issues with Edge on mobile so it’s not perfect).

      Given the topic owner originally said OnInput was firing for text inputs, it feels like it’s bouncing around between working and not on a per update basis. It also appears nobody wants to deal with it given the assignment history above.

    • This bug report is for input type="checkbox", "radio", "file", and for “select” only.
      If the “input” event is not firing for the “text” input object, I’d file a different bug report or look for another existing one.

    • Microsoft Edge Team

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

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

    Sign in