Closed Lunok closed 4 years ago
Yeah, it's a bug :/ I'm gonna fix it in the next version
@Kinark Hello, I'd like to inform you that the "updateStepper()" function returns the error "updateStepper() is not a function". However, it can be used by calling it this way: "instance.updateStepper".
Are you sure? How can it be called just by referencing a variable?
Yes, I use webpack-encore (with Symfony), I don't know if it can be linked... But the bug is really strange, I don't understand it either! I proceeded exactly as explained on the documentation. In the evening, I will create an empty html page and put the stepper on it, it will help to see if the bug happens again, I'll keep you informed.
Thanks for helping me debugging :D
Sorry for the late answer. I've tested the resetStepper() function with just a simple html page and it works perfectly, so i think the problem is caused by the webpack-encore, I'll investigate further to find the problem. For the moment I'm on holiday, I will resume my research when I come back ;D
No problem! Thanks for using MStepper :D
Hello, it's me again!
I"d like to make a suggestion about the resetStepper() function, is it possible to reset the titles of the steps with this function ?
All fields are effectively reset and we return to step 1 but the step titles remain visually validated or maybe I missed something ?
The same thing happens on the demo: https://kinark.github.io/Materialize-stepper/?api_reset_demo_email=rgerger%40hotmail.fr&api_reset_demo_password=sdfsdfsd
Thanks