Skip to content

autocomplete box display results only after 3 characters #861

Answered by sarahdayan
Snoker87 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Snoker87,

I recommend following this guide to learn how to change behavior based on the query.

In getSources, you can test the length of the query and only return sources when it's long enough.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sarahdayan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants