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

[FR] Debounce search_select input #512

Open
dkniffin opened this issue Dec 20, 2024 · 0 comments
Open

[FR] Debounce search_select input #512

dkniffin opened this issue Dec 20, 2024 · 0 comments

Comments

@dkniffin
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Search-select fields are not set up with a debounce field, so network requests are fired on every input change. Eg, if I'm searching for the user "Derek", when I type in "D", it sends a request, then another on "De", then "Der", "Dere", and finally "Derek". If the user types quick enough, the only request should be on "Derek"

Describe the solution you'd like
A debounce function would solve this. Someone discussed this in slim-select here: brianvoe/slim-select#541 And there is an example function in the codepen.

Additional context
N/A

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

No branches or pull requests

1 participant