Open NishilSB opened 1 year ago
Can you suggest a PR that is working on your scenario? I think the behavior you describing is correct.
On Fri, Jul 7, 2023, 4:17 PM NishilSB @.***> wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/sanusart/react-dropdown-select/issues/283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACBLRVGOSYRH4F4LRIYC53XPAD6TANCNFSM6AAAAAA2BZ3HVY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
i don't have a working PR yet, Iam requesting a feature.
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.