2017 © Pedro Peláez
 

component select2

Select2 is a jQuery based replacement for select boxes.

image

select2/select2

Select2 is a jQuery based replacement for select boxes.

  • Friday, May 25, 2018
  • by kevin-brown
  • Repository
  • 829 Watchers
  • 22595 Stars
  • 144,256 Installations
  • JavaScript
  • 16 Dependents
  • 2 Suggesters
  • 5211 Forks
  • 609 Open issues
  • 27 Versions
  • 8 % Grown

The README.md

Select2

Build Status Financial Contributors on Open Collective jsdelivr cdnjs, (*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.org/, (*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 jsDelivr or cdnjs, download it from this GitHub repo, or use one of the integrations below., (*4)

Integrations

Third party developers have created plugins for platforms which allow Select2 to be integrated more natively and quickly. For many platforms, additional plugins are not required because Select2 acts as a standard <select> box., (*5)

Plugins, (*6)

Themes, (*7)

Missing an integration? Modify this README and make a pull request back here to Select2 on GitHub., (*8)

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., (*9)

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

Documentation

The documentation for Select2 is available online at the documentation website and is located within the docs directory of this repository., (*11)

Community

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

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

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute]. , (*14)

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute], (*15)

Individuals

, (*16)

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute], (*17)

, (*18)

The Versions

25/05 2018

dev-develop

dev-develop https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

22/11 2017

4.0.6-rc.1

4.0.6.0-RC1 https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

05/11 2017

dev-master

9999999-dev https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

26/10 2017

4.0.6-rc.0

4.0.6.0-RC0 https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

26/10 2017

dev-hotfix

dev-hotfix https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

26/10 2017

4.0.5

4.0.5.0 https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

24/09 2017

4.0.4

4.0.4.0 https://select2.org/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

27/05 2016

4.0.3

4.0.3.0 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

09/03 2016

4.0.2

4.0.2.0 https://select2.github.io/

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

14/02 2016

4.0.2-rc.1

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

Select2 is a jQuery based replacement for select boxes.

  Sources   Download

MIT

The Requires

 

19/01 2016

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

 

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

 

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