Select: Add possibility to identify change trigger #1433
vladshcherbin
started this conversation in
Feature Requests / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋
I've provided
items
for select. When I focus closed select and press a key, the value starting with this key is selected andonValueChange
is triggered. Same does plain selection from a select box with a mouse.I'd love to know the source of change trigger.
My use case:
onValueChange
will be triggered 4 times for2
,20
,200
,2004
resulting with 4 API requestsHowever now I have debounce for a regular
2004
select from select box which I don't want.Identifying change trigger would help me debounce conditionally. I've searched through the docs and didn't figure out how to do this.
Thank you 😉
Beta Was this translation helpful? Give feedback.
All reactions