Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to update query parameter from navigation guard #2624

nirmalraghavan opened this Issue Feb 22, 2019 · 0 comments


None yet
2 participants
Copy link

nirmalraghavan commented Feb 22, 2019



Reproduction link

Steps to reproduce

Inside beforeEnter try to modify query parameters by passing next({ query: {'my-param': 'new-value'} })

What is expected?

Query parameter will be updated with the new value and the URL will also update.

What is actually happening?

URL still having the same old value for my-param.

Even though the query parameter value is not updated in the URL, this.$route.query['my-param'] value is updated with the new value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.