vue-form-wizard icon indicating copy to clipboard operation
vue-form-wizard copied to clipboard

NavigationDuplicated error

Open mihalikv opened this issue 5 years ago • 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: https://github.com/vuejs/vue-router/issues/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.

mihalikv avatar Jan 30 '20 12:01 mihalikv

Same issue here. Any workaround solution to this?

Perezmarc avatar Apr 15 '20 08:04 Perezmarc

Same here. Not sure if this is caused because I am nesting form-wizards.

gijsmooren avatar May 07 '20 12:05 gijsmooren

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 avatar Jun 23 '20 09:06 ThaDaVos

@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

MrEko avatar Jun 23 '20 14:06 MrEko

How would I use it? Is it on NPM? Or do I have to build it myself?

ThaDaVos avatar Jun 23 '20 15:06 ThaDaVos

put in your package.json: "vue-form-wizard": "github:MrEko/vue-form-wizard#v0.8.5"

MrEko avatar Jun 23 '20 15:06 MrEko