Hi all,
I’m trying to implement Algolia using the React Instant Search widget (in Gatsby) and I’m trying to use a custom SearchBox so that I can utilise my MaterialUI input elements. I would like to disable the searchAsYouType
feature but I can’t seem to do that with the custom SearchBox. The only props I have access to in the custom SearchBox are currentRefinement
, isSearchStalled
and refine
. Despite me not calling refine
within the onChange
of the input, the search still fires on every keypress. Is there any way to avoid this?
My custom SearchBox looks like follows: (Edit: actually get a 403 error when posting this topic with my code )
Appreciate any advice or help!