Hii all, I have a Menu RefinementList And when I s...
# community-help
d
Hii all, I have a Menu RefinementList And when I select one item I want to reset all the other filters/RefinementList and then selent the menu value. (
ClearRefinements
will not work as I want to clear all then add the clicked menu value). I'm using
react-instantsearch-dom
. Also does typesense works with
react-instantsearch-hooks
?
j
I think you can use the
connectCurrentRefinements
to do this. This method seems to clear all the refinements programmatically: https://www.algolia.com/doc/api-reference/widgets/clear-refinements/react/#connector-param-provided-refine
Also does typesense works with react-instantsearch-hooks
I think it will, since what the adapter does is replace the Algolia search client with typesense's search client. Everything else is handled by instantsearch. Let me know if you run into any typesense specific issues if you get a chance to try it out