Topic: stepper woes not allow jumps bigger that 1, if linear mode is used
Lustig free asked 3 years ago
Expected behavior stepper jumps to the step that is provided as argument of function setNewActiveStep(index)
Actual behavior the movement to this index is not done when using linear stepper mode. If the linear stepper mode is used, then only a movement by stepsize of 1 is possible.
Resources (screenshots, code snippets etc.) if stepper is at index 2, setNewActiveStep(3) works, setNewActiveStep(4) will not work.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB4 9.4.0
- Device: Desktop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
Arkadiusz Idzikowski staff commented 3 years ago
@Lustig Are all previous steps completed when you try to jump to index 4?
Lustig free commented 3 years ago
yes, all previous step are complete. i also can reproduc this with a stpper without stepforms
Arkadiusz Idzikowski staff commented 3 years ago
@Lustig We managed to reproduce this bug on the linear stepper, we need to take a closer look at that to find the cause of the problem. However, it looks like everything is working correctly in a non-linear model. If it doesn't work in your case even without form validation, please edit your post and include an example code on which we will be able to reproduce the problem.