Clear search results with vue-instantsearch clear button

How can I clear the result set when there is nothing typed in search box or the user press the clear button on search box.
Thanks in advance

Did you try <ais-clear> and <ais-searchbox>; if I understand what you want properly, that should be doing it.

Can you post the code you’re using on a CodeSandbox? An example to start with is here

Solved my problem from github…
Thanks @haroen

1 Like