Comments (7)
Try loading jQuery before loading Angular, when combining those you always need to load jQuery first.
from angular-select2.
I'm sorry, but I'll need more info to debug this. Can you make a minimal
jsFiddle example that demonstrates your error?
On 18 Mar 2016 6:58 pm, "didadan" [email protected] wrote:
Hi Ruben, this might be similar to #39
#39.I followed your instruction and used the current version. It always brings
up the same error. Do you have any clue what could cause this?Versions:
Angular: 1.4.7
rubenv/angular-select2: 1.4.3 and 1.4.2
(with and without select2: 3.5.4, 3.5.2 and 4.0.2)Basically the code is: angular module: 'rt.select2'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#40
from angular-select2.
Hi Ruben, thanks for the quick reply. Here the fiddle: https://jsfiddle.net/didadan/wLb6jc7p/1/
from angular-select2.
Ups, guess it was the wrong link. Had to make it public first: https://jsfiddle.net/didadan/wLb6jc7p/
from angular-select2.
There's no jQuery nor select2 loaded in that fiddle, that clearly won't work :-)
from angular-select2.
Ok, I didn't put it because it's not mentioned in the documentation - at least I didn't find it. However I tried with different solutions, here is a fiddle with the libs. How about this? https://jsfiddle.net/didadan/nzw6ybmt/
from angular-select2.
Thank you Ruben, that solves the issue.
from angular-select2.
Related Issues (20)
- Not watching model change in multiple
- Grouping not working
- Losing selection in multiple with custom query
- Controller 'select', required by directive 'ngOptions', can't be found! HOT 4
- Matcher is hardcoded HOT 3
- TypeError: element.select2 is not a function HOT 6
- Add Angular 1.5.x compatibility HOT 2
- how about ditching bower in favour of npm
- virtual keyboard popup on phones HOT 3
- Can't find or understand how to add an "on select" event HOT 1
- fix(directive): priority with value 1 blocks proper loading when inside another directive
- How can I catch keydown event?
- Using angular-select2 with ES6
- Bower Laravel Angular-Select2 problem
- HTML5 required attribute HOT 2
- How to delay http request ?
- Multiple select input search is readonly and disabled in mobile view
- form-control visual issue
- TypeError: d.select2(...).find(...).sortable is not a function angular
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-select2.