autocomplete box display results only after 3 characters #861
-
How can I make the autocomplete box display results only after 3 characters are entered in our search box and not before ? |
Beta Was this translation helpful? Give feedback.
Answered by
sarahdayan
Jan 9, 2022
Replies: 2 comments
-
Hey @Snoker87, I recommend following this guide to learn how to change behavior based on the query. In |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sarahdayan
-
@Snoker87 like this :
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 thequery
and only return sources when it's long enough.