This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
input: type="number" arrow keys are not handled on IE11 #10691
Open
Description
mdInput
is not working in IE10 and IE11. When using type=number
, side arrow event doesn't work. Also I wanted to restrict the decimal point to enter into mdInput
text box.
The issue can be reproduced using following code (use IE10 to check the expected results)
<input mdInput type="number" onkeypress="return event.code !='NumpadDecimal' && event.code!='Period'" step="10" max="100" min="0">
In chrome, I'm getting the desired output as when we press up/down arrows the input field text jumps to 10 ( as step is=10 ). But same is not working in IE10 and IE11. Kindly suggest a solution.
Do i need to update my polyfills?
If yes then please suggest for the same....
Thank You in Advance... :)