-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
Deplay in onChange event #180
Comments
Hi, @quanle1994 Yes, I can add options for delay time. Regards |
Hi @JiHong88 My ultimate goal is to capture all the changes immediately when the text value is changed so it's best if the callback is called on every character change even when a key is held down. For now, I just need to validate for empty messages so maybe just a callback when the text is empty will do. However, this is too specific to my use case so it may not benefit others. Regarding the pressing and holding of a key, I think the onChange will not be called after the key is up in Chrome and Firefox. I have commented in #173 too. This seems to be a more critical request so if you could help me fix it, I can use it to validate the empty messages and hence I wouldn't need the reduction in onChange delay as much then. |
OK, I see. |
Hi, @quanle1994 Fixed in v2.24.0 Thank you. |
Hello
Thank you for this great component. I have just a small request on the delay time of the onChange callback.
Could you provide an option to get the onChange contents immediately after typing? I am doing empty message validation so getting this value without delay will make the error display promptly.
Regards
The text was updated successfully, but these errors were encountered: