From e2cd7bd6bfad56667dcc1787dbf5977713d4da9e Mon Sep 17 00:00:00 2001 From: David Mamane Date: Tue, 6 Jun 2017 12:02:46 +0200 Subject: [PATCH] fix on mounted hook in FormWizard doing a checkStep() if user passed a startIndex prop > 0. Fix when user want to start on final step => final button wasn't shown --- src/components/FormWizard.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/FormWizard.vue b/src/components/FormWizard.vue index 71d17fb..d690e80 100644 --- a/src/components/FormWizard.vue +++ b/src/components/FormWizard.vue @@ -372,6 +372,7 @@ tabToActivate.active = true this.maxStep = this.startIndex this.tryChangeRoute(this.tabs[this.startIndex]) + this.checkStep() } else { console.warn(`Prop startIndex set to ${this.startIndex} is greater than the number of tabs - ${this.tabs.length}. Make sure that the starting index is less than the number of tabs registered`) }