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

Require onInput/onSelect callback to fulfil some use case. #283

Open
NishilSB opened this issue Jul 7, 2023 · 2 comments
Open

Require onInput/onSelect callback to fulfil some use case. #283

NishilSB opened this issue Jul 7, 2023 · 2 comments

Comments

@NishilSB
Copy link

NishilSB commented Jul 7, 2023

we need to have onInput/onSelect event call back to overcome issue which is creating by onChange event.

when I set an object in the values prop to pre-populate a value in RDS programmatically, it also triggering onChange event, which unwantedly executing the code written inside onChange event handler which is creating a bug in my react app.

It will be great to interduce onSelect/onInput event callback function which only triggers where a user/human select a value from the dropdown.

Thanks.

@NishilSB NishilSB changed the title Require onInput callback to fulfil some use case Require onInput/onSelect callback to fulfil some use case. Jul 7, 2023
@sanusart
Copy link
Owner

sanusart commented Jul 8, 2023 via email

@NishilSB
Copy link
Author

i don't have a working PR yet, Iam requesting a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants