Skip to content
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
@Gaurav9969351313

Description

@Gaurav9969351313

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... :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4: minorMinor issues. May not be fixed without community contributions.browser: IEThis issue is specific to Internet Explorerneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions