Comments (4)
are you actually including this package directly? pretty sure that autoform and yogiben's admin do not use this package.
from meteor-select2.
I am. Thanks for such a quick response!
My full use case:
I needed to load some custom items in my select2, so I've copied the HTML + JS from aldeed:autoform-select2, and customized those to my needs. This code resides in approot/client/
(I haven't yet switched away to the lazy-loading structure recommended in 1.3). Along with this application code, I use the following top-level packages and versions:
yogiben:[email protected]
aldeed:[email protected]
natestrauser:[email protected]
zimme:[email protected]
(note: I haven't selected any versions manually, these are copied out of the versions file created by meteor's own package management)
Since I don't directly control the template used on the admin pages, I'm using your package to load the select2 JS and CSS in at the right time (after jQuery, before the select widgets are rendered and the select2 initialisation function called). It works fine in Meteor 1.2, but breaks on update.
from meteor-select2.
this package is working just fine for me with a meteor 1.3 app
i'm using
aldeed:autoform
aldeed:autoform-select2
natestrauser:select2
the select2 plugin seems to work properly in my custom written admin interface
i think your issue may be something specific to your use case or the yogiben admin
from meteor-select2.
Sorry, isolated the bug, and it was with my application code, not this package. Specifically, I was using Template.<templatename>.rendered = function () {...}
to initialize the plugin, rather than the documented Template.<templatename>.onRendered(function () {...})
. Changing to the latter fixed my issue.
from meteor-select2.
Related Issues (20)
- Problem with loading remote data with iron-router?
- README error HOT 1
- Unable to install HOT 2
- Support with Meteor 1.2 HOT 1
- Uncaught TypeError: $(...).select2 is not a function HOT 2
- License model HOT 3
- i18n support HOT 1
- Update to 4.0.1 HOT 3
- Package is loaded twice HOT 1
- Error when dismissing modal with select2 HOT 5
- INCOMPATIBLE WITH METEOR 0.9.0 OR LATER HOT 2
- Could you add "select2-bootstrap-theme CSS" in this package? HOT 2
- Can you add a minimal example to the README? HOT 1
- Please update to 4.0.2 version HOT 2
- Re-size issue HOT 2
- Meteor 1.3 allowClear option not working
- Customized Results Matching Not Supported
- Issue reactive Select2 HOT 1
- Select is just displaying as a regular select
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 meteor-select2.