2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-06 06:22:24 +03:00

Merge pull request #20 from sotaan/patch-1

fix on mounted hook in FormWizard
This commit is contained in:
Cristi Jora
2017-06-06 13:16:37 +03:00
committed by GitHub
+1
View File
@@ -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`)
}