Kinark / Materialize-stepper

A little plugin that implements a stepper to Materializecss framework.
https://kinark.github.io/Materialize-stepper/
MIT License
227 stars 60 forks source link

resetStepper Function doesnt Working on latest Version Mazerialize 1.0 Beta #42

Closed mustii82 closed 6 years ago

mustii82 commented 6 years ago

After calling the resetStepper Function The Stepper stop Working on latest Version Materialize 1.0 Beta.

Uncaught ReferenceError: Materialize is not defined at n.fn.init.$.fn.resetStepper (materialize-stepper.min.js:5) at s.onModalClose (localhost/:248) at Object.complete (materialize.min.js:6) at o (materialize.min.js:6) at r (materialize.min.js:6) at Object.D.v.tick (materialize.min.js:6) at e (materialize.min.js:6)

mustii82 commented 6 years ago

After i changed Materialize.updateTextFields() to M.updateTextFields() in the JS File as proivded in the latest version, the Stepper is empty after reopen like its missing the JS File.

Kinark commented 6 years ago

Unfortunately resetStepper was removed temporarily. Everything was made from scratch in the new beta version. Check the new docs to learn more.