Reputation: 1598
Is there a way to only turn the autocomplete on after typing lets say three keystrokes? I am currently using the react library react-select.
Upvotes: 1
Views: 1932
Reputation: 1478
I would implement to execute asynchronous event after (around) 300ms rather than counting each keystrokes. You can have a look at debounce and persist in here
debounce
persist