Skip to content

[FR] Debounce search_select input #512

@dkniffin

Description

@dkniffin

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions