-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support onKeyDown in Input #884
Comments
You're correct, I've added #886 to address this. I also tested it in the browser to ensure it works as expected. |
Released in |
The |
@levithomason I may be wrong, but it don't seems to be supported anymore. |
why was this removed? |
@guillemcanal @svey |
To be able to allow/disallow different keys in input fields it would be nice if the
Input
component would have anonKeyDown
prop where I could provide my custom event handler. If I calle.preventDefault()
in theonKeyDown
event handler theonChange
handler would not be called.This might be as easy as to add the
onKeyDown
intohtmlInputPropNames
array?Version
0.60.9
The text was updated successfully, but these errors were encountered: