-
Notifications
You must be signed in to change notification settings - Fork 408
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
onKeyUp/Down #186
Comments
If your goal is to restrict the user input, this is being tracked in #33. Do you have other use cases for |
One use case that I need for this: pressing the enter key while focused/typing in the input box triggers a function |
@stevenqzhang: can you elaborate a bit? What would the function do? I'd like to understand the higher-level behavior you're trying to achieve. |
@ericgio Actually, I solved my use case with submitFormOnEnter, but I imagine this feature request would be useful for when someone wants an input box that submits on shift/ctrl+enter, or something |
I think this falls under #79, which would allow developers to set both component-specific and general input-related props. Closing this issue in favor of the other one, but let me know if I'm missing something. |
Feature requests
Correct me if I am wrong but it would be nice to be able to use event such as onKeyUp or Down as
it would provide a great way implement input mask regex for ex.
The text was updated successfully, but these errors were encountered: