Topic: stepper step change manually
Hi,
I use mdb-stepper in a modal. In my scenerio user fill inputs until the last step. At the last step I added a checkbox. if user selects it I am trying to take user back to first step. Is there a way to do it?
Magdalena Dembna
staff premium answered 9 months ago
Bind a current step to the value in your data() with a v-model:
<mdb-stepper v-model="step"></mdb-stepper>
And then simply set the step's value depending on a checkbox.
Best regards, Magdalena
Answered
- User: Free
- Premium support: No
- Technology: Vue
- MDB Version: 6.7.1
- Device: computer
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No