autoFormCreation: false not working
Mark53CZ opened this issue · comments
Marek Hypš commented
materialize-stepper.js:591 Uncaught TypeError: Cannot read property 'length' of null at materialize-stepper.js:591 at MStepper._init (materialize-stepper.js:53) at new MStepper (materialize-stepper.js:699)
Browser: Google Chrome 74.0.
I fixed it by changing line 591 from:
} else if (form.length) {
to
else if (form !== undefined && form !== null && form.length) {
Igor Marcossi commented
Gonna fix this in the next version.
Thanks.