So guys I have tried select.js for jquery, it works fine. Now I am trying select.js for angular but getting this error:
TypeError: d.select2 is not a function
Here's the fiddle:
So guys I have tried select.js for jquery, it works fine. Now I am trying select.js for angular but getting this error:
TypeError: d.select2 is not a function
Here's the fiddle:
You are using Select2 4.0, aren't you?
You should be using the code that is located in this other branch: https://github.com/motin/angular-select2/tree/select2-4.0-support-wip
Check out this issue: https://github.com/rubenv/angular-select2/issues/18