validateSearch resets router context
Hi,
currently I'm trying to use the validateSearch to get search params inside my loader.
My Root-Route looks like this:
At some point the router-context seems to be cleared, but only if I use the validateSearch function and call the page without search param (like /en/12345/staff).
It works fine, when:
1. I call the page with the search param (like /en/12345/staff?includeExpired=false)
1. I do not use validateSearch
Any ideas how I can get it to work, calling the page without the search param (because it should be defaulted by the validator) and using the validator?
2 Replies
gradual-turquoiseOP•7mo ago
Does anyone have an idea?
Noone? 😦
frail-apricot•7mo ago
i think i know this bug
will have a look