Steps to reproduce
Edge doesn’t follow the spec - https://html.spec.whatwg.org/multipage/input.html#number-state-(type%3Dnumber)
Nor it is interoperable with Chrome
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Changed Assigned To to “Mohamed S.”
Changed Assigned To to “Bogdan B.”
Originally reported at https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10538279/, it appears this is either a regression or it was never actually fixed.
`` will let you enter
abc. You will get a validation error on form submit, but the expected behavior is that the input box will not let you input the letters in the first place.
This issue appears to be related to small step sizes and numbers near the min. Using
1.2will validate but anything between
1.19will not validate. If I change
min="2"it will not validate with
Note: Problem goes away if
Oops, above comment is for another bug with
input type="number". Please delete.