Replies: 1 comment
-
|
I create a bug issue: #1324 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Let's say I have a search form view which contains some search options as html inputs and a search button. It works like this:
I press "Search" button, which does nothing but programmatically navigates to the current path + also incudes some search params. This causes the
loadandbeforeLoadfunctions of the router to trigger, looking for the updated search parameters and performing the search.If I now press the "Search" button again, without making any changes to the search parameters, it programmatically navigates to the current url again. This time,
loadandbeforeLoadfunctions are not executed.There should be away to make these functio trigger even if the navigation occurs to the same url. Otherwise, I cannot perform the same search again.
I tried including
shouldReload: trueoption for the route, but it did not help.This worked well in
0.0.1-beta.185but not in1.19.4Beta Was this translation helpful? Give feedback.
All reactions