NavigationDuplicated error
mihalikv opened this issue · 6 comments
Hello,
I am using vue-form-wizard with vue-router-3.1.3 and it throw an error in console when you came to first step of wizard or if you enter same route again and again.
Reproduction link:
https://jsfiddle.net/yazhup9t/
Related issue:
vuejs/vue-router#2872
Maybe just suppress error by catching it here:
https://github.com/BinarCode/vue-form-wizard/blob/master/src/components/FormWizard.vue#L413
this.$router.push(tab.route).catch(err => {})
Thank you for great lib.
Same issue here. Any workaround solution to this?
Same here. Not sure if this is caused because I am nesting form-wizards.
Any fix for this? It also doesn't go to the next route for me, always returns back to the first one after throwing the error
@ThaDaVos
Try using v0.8.5 from my repository, I was having problems like this and worked for me.
But I don't remember returning back to the first route.
https://github.com/MrEko/vue-form-wizard/tree/v0.8.5
How would I use it? Is it on NPM? Or do I have to build it myself?
put in your package.json:
"vue-form-wizard": "github:MrEko/vue-form-wizard#v0.8.5"