2017 © Pedro Peláez
 

component select2

Select2 is a jQuery based replacement for select boxes.

image

thatsus/select2

Select2 is a jQuery based replacement for select boxes.

  • Thursday, January 14, 2016
  • by thatsus
  • Repository
  • 4 Watchers
  • 0 Stars
  • 10,710 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 5219 Forks
  • 0 Open issues
  • 18 Versions
  • 13 % Grown

The README.md

Select2

![Build Status][travis-ci-image], (*1)

Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and pagination of results., (*2)

To get started, checkout examples and documentation at https://select2.github.io/, (*3)

Use cases

  • Enhancing native selects with search.
  • Enhancing native selects with a better multi-select interface.
  • Loading data from JavaScript: easily load items via AJAX and have them searchable.
  • Nesting optgroups: native selects only support one level of nesting. Select2 does not have this restriction.
  • Tagging: ability to add new items on the fly.
  • Working with large, remote datasets: ability to partially load a dataset based on the search term.
  • Paging of large datasets: easy support for loading more pages when the results are scrolled to the end.
  • Templating: support for custom rendering of results and selections.

Browser compatibility

  • IE 8+
  • Chrome 8+
  • Firefox 10+
  • Safari 3+
  • Opera 10.6+

Usage

You can source Select2 directly from a CDN like JSDliver or CDNJS, download it from this GitHub repo, or use one of the integrations below., (*4)

Integrations

Internationalization (i18n)

Select2 supports multiple languages by simply including the right language JS file (dist/js/i18n/it.js, dist/js/i18n/nl.js, etc.) after dist/js/select2.js., (*5)

Missing a language? Just copy src/js/select2/i18n/en.js, translate it, and make a pull request back to Select2 here on GitHub., (*6)

Documentation

The documentation for Select2 is available through GitHub Pages and is located within this repository in the docs folder., (*7)

Community

You can find out about the different ways to get in touch with the Select2 community at the Select2 community page., (*8)

The license is available within the repository in the LICENSE file., (*9)

The Versions

14/01 2016

dev-master

9999999-dev https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

28/11 2015

4.0.1

4.0.1.0 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

10/11 2015

4.0.1-rc.1

4.0.1.0-RC1 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

30/08 2015

3.5.4

3.5.4.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

30/08 2015

dev-stable/3.5

dev-stable/3.5 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

20/08 2015

3.5.3

3.5.3.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

26/04 2015

4.0.0

4.0.0.0 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

15/03 2015

4.0.0-rc.2

4.0.0.0-RC2 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

02/03 2015

4.0.0-rc.1

4.0.0.0-RC1 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

28/01 2015

4.0.0-beta.3

4.0.0.0-beta3 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

14/01 2015

4.0.0-beta.2

4.0.0.0-beta2 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

08/01 2015

4.0.0-beta.1

4.0.0.0-beta1 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

01/11 2014

3.5.2

3.5.2.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

23/07 2014

3.5.1

3.5.1.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

17/06 2014

3.5.0

3.5.0.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

01/05 2014

3.4.8

3.4.8.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

01/05 2014

3.4.7

3.4.7.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires

 

23/03 2014

3.4.6

3.4.6.0 http://ivaynberg.github.io/select2/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

Apache-2.0

The Requires