Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoFormCreation: false not working #73

Closed
Mark53CZ opened this issue May 7, 2019 · 1 comment
Closed

autoFormCreation: false not working #73

Mark53CZ opened this issue May 7, 2019 · 1 comment
Labels

Comments

@Mark53CZ
Copy link

Mark53CZ commented May 7, 2019

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) {

@Kinark
Copy link
Owner

Kinark commented Jul 4, 2019

Gonna fix this in the next version.
Thanks.

@Kinark Kinark added the bug label Jul 4, 2019
@Kinark Kinark closed this as completed in fe1ad86 Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants