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

selectize.js:2151 Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node' #175

Open
epchristi opened this issue Nov 1, 2016 · 0 comments

Comments

@epchristi
Copy link

In selectize.js, in the function refreshOptions(), optgroup can be IPV6ADDRESS, and in line 2151:

html_children.appendChild(self.render('optgroup_header', self.optgroups[optgroup]));

This call fails with the Uncaught TypeError. 'optgroup_header' doesn't have a mapping in self.render.

This may or may not be a problem, but html[0] ends up being undefined in this case, which is what results in the error. I would add the code that causes it, but it's proprietary. I am hoping this gives enough information to reproduce it in a different way.

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

No branches or pull requests

1 participant