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

Parser-input-select.js error #1554

Closed
lindonb opened this issue Jun 16, 2018 · 1 comment
Closed

Parser-input-select.js error #1554

lindonb opened this issue Jun 16, 2018 · 1 comment

Comments

@lindonb
Copy link

lindonb commented Jun 16, 2018

After this commit the following error occurs for me at line 148 of parser-input-select.js:

TypeError: $el[0] is undefined

It seems that the updateCheckbox function is run twice and the error happens the second time. Changing line 148 to check for undefined fixes the issue for me:
Replace:
if ($el[0].nodeName !== 'INPUT') {
With this:
if (typeof $el[0] !== 'undefined' && $el[0].nodeName !== 'INPUT') {
Not sure if this is the best fix or there is another root problem.
Thanks,
lindonb

@Mottie
Copy link
Owner

Mottie commented Jun 16, 2018

Hi @lindonb!

Thanks for reporting this problem. I'll get it fixed ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants