I'm tracking pagination, search and sort in a URLSearchParams object, which is appended to the request url on each request. If the search.server.url method is not called when resetting the search box, the request that is executed is the same as before.
Describe the bug
When clicking the reset icon in the search box:
search.server.url
method is not calledI'm tracking pagination, search and sort in a
URLSearchParams
object, which is appended to the request url on each request. If thesearch.server.url
method is not called when resetting the search box, the request that is executed is the same as before.To Reproduce Steps to reproduce the behavior:
search.server.url
is called withkeyword
= search termsearch.server.url
is not calledExpected behavior I'd expect the
search.server.url
method to be called on every search inputchange
/input