Skip to content

Clear all refinements when the search box is focused #5326

Answered by Haroenv
markosrx asked this question in Q&A
Discussion options

You must be logged in to vote

you can use useClearRefinements to clear the refinements in the focus handler of the search box, do you have code?

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@markosrx
Comment options

@Haroenv
Comment options

@markosrx
Comment options

@dhayab
Comment options

Answer selected by dhayab
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
3 participants