chhib / meteor-selectize-bootstrap-3 Goto Github PK
View Code? Open in Web Editor NEWSelectize packaged with Bootstrap 3 for use with Meteor
Home Page: https://atmospherejs.com/chhib/selectize-bootstrap-3
Selectize packaged with Bootstrap 3 for use with Meteor
Home Page: https://atmospherejs.com/chhib/selectize-bootstrap-3
how to set size such as "input-sm" style???
selectize plugin like "remove_button" don't work.
I want to set addon
with custom field in bs3
<div class="form-group{{#if afFieldIsInvalid name='staffId'}} has-error{{/if}}"
data-required="true">
<label class="control-label" for="staffId">Staff</label>
<div class="input-group">
{{> afFieldInput name='staffId'}}
<span class="input-group-addon staffInsertAddon">
<a href="#">
<i class="fa fa-plus"></i>
</a>
</span>
</div>
{{#if afFieldIsInvalid name='staffId'}}
<span class="help-block">{{afFieldMessage name='staffId'}}</span>
{{/if}}
</div>
But not work, please help me.
Usually in start of page, the following error shown in console and no item shown in selector. after that it work correctly when template re rendered.
<template name="form">
<select name="account">
{{#each accounts}}
<option value="{{_id}}">{{title}}</option>
{{/each}}
</select>
</template>
Template.form.onRendered(function () {
$(this.$('[name=account]')).selectize();
});
Template.transaction.helpers({
accounts: Accounts.find({}, {sort: {'title': true}})
});
Exception in queued task: Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at Error (native)
at DOMRange.detach (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:512:24)
at DOMRange.setMembers (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:471:12)
at DOMRange.addMember (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:540:10)
at http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2695:32
at Object.Tracker.nonreactive (http://localhost:3000/packages/tracker.js?6d0890939291d9780f7e2607ee3af3e7f98a3d9c:593:12)
at Object.Blaze.Each.eachView.onViewCreated.eachView.stopHandle.ObserveSequence.observe.addedAt (http://localhost:3000/packages/blaze.js?a5c324925e5f6e800a4c618d71caf2848b53bf51:2682:17)
at Object.cursor.observe.addedAt (http://localhost:3000/packages/observe-sequence.js?0532a9dd76dd78f543eb4d79a1e429df186d8bde:368:19)
at LocalCollection._observeFromObserveChanges.observeChangesCallbacks.addedBefore (http://localhost:3000/packages/minimongo.js?af9eb9d7447544ca9b839a3dcf7ed2da2209b56c:3862:28)
at Object.LocalCollection._CachingChangeObserver.self.applyChange.addedBefore (http://localhost:3000/packages/minimongo.js?af9eb9d7447544ca9b839a3dcf7ed2da2209b56c:3799:56)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.