angular-selectize.js icon indicating copy to clipboard operation
angular-selectize.js copied to clipboard

Got 'TypeError: undefined is not a function' for initial load

Open cheahkhing opened this issue 10 years ago • 1 comments

I followed the example on plunkr, but somehow i got this exception on init. It seems like it doesn't get through 'initSelectize()'. keep throwing the same error on the line "element.selectize(opts)". Anybody can get it working for this latest version?

Here's my html:

Thanks.

cheahkhing avatar Oct 08 '14 03:10 cheahkhing

I had the same issue. Took me a while to figure out what was going on. For me, I was not including the selectize library - once I added it, everything worked as expected. This was with 1.4.3.

w33ble avatar Dec 18 '14 21:12 w33ble