Topic: Change steps of Stepper in React
Safin priority asked 1 year ago
it is possible to manually change the step
It's not possible in Basic example. I tried to do it through defaultstep, substituting the current state of the step into the value, but this does not work
Resources (screenshots, code snippets etc.)
jammerxd2 priority answered 1 year ago
any update on this? I too would like this.
Mateusz Lazaru staff commented 1 year ago
It is very likely that we will fix this in the next release.
Mateusz Lazaru staff answered 1 year ago
At the moment, it's not possible, because defaultStep
sets active step only on first render. That's not the most 'reactive' way of state management, so we will change it soon, probably in the nearest release.
Safin priority commented 1 year ago
Got it, thanks. Where can I find the latest update information?
Mateusz Lazaru staff commented 1 year ago
There is a changelog: https://mdbootstrap.com/docs/react/getting-started/changelog/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 6.1.0
- Device: desktop machine
- Browser: google chrome
- OS: windows 10, React 18.2.0
- Provided sample code: No
- Provided link: No