Select2 bindings to meteor
Switch branches/tags
Clone or download
#37 Compare This branch is 36 commits ahead, 1 commit behind vslinko:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib update to 4.0.3 Aug 16, 2016
.gitignore path override Jan 21, 2013
.gitmodules load submodule at 4.0.1 Feb 15, 2016
.versions update to 4.0.3 Aug 16, 2016
LICENSE.txt fixes #19 Feb 15, 2016 Improve for #28 Dec 29, 2017
package.js update to 4.0.3 Aug 16, 2016
versions.json #4 Oct 15, 2014


Package for Select2

How to install

Add package

meteor add natestrauser:select2

How to use

Add a specific class in your template for the select element you want to apply Select2 to:

<select class="select2-dropdown" name="state">
  <option value="value1">value1</option>
  <option value="value2">value2</option>

Enable Select2 for the specific class in the .js file of your template:

Template.MyTemplate.onRendered(function() {
    // Enable select2

See also the Select2 documentation.