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 5 years 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.7.1
- Device: computer
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No