Skip to content

How to prevent search results from being displayed when the search term is empty #5294

Discussion options

You must be logged in to vote

We explain in our FAQ: How to search from the n-th character.

Then you can use connectStateResults() to display the placeholder text when there's no query.

Replies: 0 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ohanamaru
Comment options

Answer selected by ohanamaru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Library: React InstantSearch < 7 Issues in any of the react-instantsearch@6 packages
2 participants