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

Spurious, untraceable error in console #9

Open
smlombardi opened this issue Mar 23, 2015 · 1 comment
Open

Spurious, untraceable error in console #9

smlombardi opened this issue Mar 23, 2015 · 1 comment

Comments

@smlombardi
Copy link

I have a project with selectize-ng menus. One one page, no issues. On another page, I'm getting this error (although the menu itself is working and populated):

TypeError: Cannot read property 'name' of undefined
    at a.extend.addOption (selectize-ng.min.js:2)
    at l (selectize-ng.min.js:5)
    at Object.fn (angular.min.js:120)
    at k.$digest (angular.min.js:122)
    at k.$apply (angular.min.js:125)
    at n (angular.min.js:80)
    at O (angular.min.js:84)
    at XMLHttpRequest.B.onload (angular.min.js:85)

See http://stackoverflow.com/questions/29222526/angular-js-selectize-error for full code.

@rcollette
Copy link

You have to have at least an empty array of options. If the bound options is null you will get this.

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

2 participants