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:
@@ -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`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user