Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

How to enable all tabs? #368

Open
pnavarretec01 opened this issue Jun 2, 2021 · 1 comment
Open

How to enable all tabs? #368

pnavarretec01 opened this issue Jun 2, 2021 · 1 comment

Comments

@pnavarretec01
Copy link

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?

@yogithesymbian
Copy link

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"
...
..
/>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants