Join Slack
Powered by
Q: By default, a Typesense search page seems to re...
# community-help
a
A J
02/12/2022, 10:59 AM
Q: By default, a Typesense search page seems to render all hits for an empty query. I want to see only search hits if there is really a query entered into the search form.
j
Jason Bosco
02/12/2022, 2:59 PM
@A J
Here's an example of how to do this with Instantsearch.js:
https://github.com/typesense/showcase-songs-search/blob/9b2d91ab5e3a16480b93de5ae103bf9969f58ac5/src/app.js#L159-L166
You'll see this in action here:
https://songs-search.typesense.org/
🙌 1
Open in Slack
Previous
Next