Clear search while reloading site

Clear search while reloading site

renanmirandarenanmiranda Posts: 3Questions: 2Answers: 0

How do I have the search field cleaned when I reload the site? Why does it already open filtering if I give a reload?


  • kthorngrenkthorngren Posts: 4,556Questions: 19Answers: 999

    What type of reload?

    If ajax.reload() then you can use search() to clear the search, for example:'');

    If you are referring to using stateSave and reloading the page then you can use the example in the stateSaveParams docs.


Sign In or Register to comment.