Should I expect validateSearch to update the URL with the parsed query params?
Seems to do it on refresh but not when navigating with the Link component.
2 Replies
wise-white•2y ago
Hey!
For reference, the objective of the validateSearch function is take whatever is provided, and then runs it against its schema to then pass down the validated values to the beforeLoad, loader, other dependent callbacks, and hooks.
You may be looking for the preSearchFilters option, that sets some defaults.
conscious-sapphireOP•2y ago
Hey @Sean Cassiere that doesn't appear to be working for me. The URL is not updated when navigating with
<Link> but does when refreshing the page. I'll try to make a reproduction