BinarCode/vue-form-wizard

How to enable all tabs?

pnavarretec01 opened this issue · 1 comments

I need to enable all the tabs without the need to press the "next" button, is it possible to do that?
If the answer is yes, how is it possible?

i forgot where is the issue that already answered .

here to solve

mounted() {
    const { tabs } = this.$refs.wizard
    tabs.forEach((tab) => (tab.checked = true))
    this.$refs.wizard.maxStep = tabs.length
  },
<form-wizard
...
...
      ref="wizard"
...
..
/>