You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser and its version: Google Chrome v55.0.2883.95
What did you expect?
Input and InputNumber do not have onKeyUp props. As the user types I need to run validation and if valid, send a request to the server with the current value of the field. onKeyDown on gives me the value of pressed key and I can access the previous value (before the key press) through event.target.value. It's possible to piece together the current value using these but onKeyUp would be more reliable.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
lockbot
locked as resolved and limited conversation to collaborators
May 2, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
What did you expect?
Input and InputNumber do not have onKeyUp props. As the user types I need to run validation and if valid, send a request to the server with the current value of the field. onKeyDown on gives me the value of pressed key and I can access the previous value (before the key press) through event.target.value. It's possible to piece together the current value using these but onKeyUp would be more reliable.
What happened?
Input and InputNumber do not have onKeyUp props.
Re-producible online demo
https://ant.design/components/input/
https://ant.design/components/input-number/
The text was updated successfully, but these errors were encountered: