Open mesutyigit opened 9 years ago
Hi,
I'm having the same problem. I'm almost sure that the problem comes from some type of incompatibility with other packages. I've tried creating a project from scratch and including the Select2 and works great, but when I use it with others I get the "Uncaught TypeError: $(...).select2 is not a function".
My packages list is:
meteor-base # Packages every Meteor app needs to have mobile-experience # Packages for a great mobile UX mongo # The database Meteor supports right now blaze-html-templates # Compile .html files into Meteor Blaze views session # Client-side reactive dictionary for your app jquery # Helpful client-side library tracker # Meteor's client-side reactive programming library
standard-minifiers # JS/CSS minifiers run for production mode es5-shim # ECMAScript 5 compatibility for older browsers. ecmascript # Enable ECMAScript2015+ syntax in app code
kadira:blaze-layout accounts-password accounts-ui accounts-facebook accounts-twitter pauli:accounts-linkedin useraccounts:bootstrap twbs:bootstrap service-configuration email iron:router useraccounts:iron-routing meteorhacks:subs-manager random check fourseven:scss@2.0.0 meteoric:ionic-sass meteoric:ionicons-sass meteoric:ionic cfs:standard-packages cfs:filesystem chrismbeckett:toastr cfs:ejson-file meteoric:autoform-ionic aslagle:reactive-table jonblum:jquery-cropper natestrauser:select2
Does anyone knows what can it be?
Thanks!
I've just realised what was the problem.
Adding the mizzao:jquery-ui package solved it
I got this error . Uncaught TypeError: $(...).select2 is not a function.
My Package List Order : meteor-platform insecure iron:router useraccounts:materialize accounts-password froala:editor-reactive rubaxa:sortable miro:preloader msavin:mongol materialize:materialize@=0.97.0 jquery natestrauser:select2