1
0
mirror of synced 2024-11-23 05:26:10 +03:00
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.
Go to file
2013-08-18 14:35:04 +02:00
bower.json modified version identifiers in descriptors for release 3.4.2 2013-08-12 15:04:12 -07:00
LICENSE strip down license header 2013-02-21 09:16:25 -08:00
README.md fixes #1386 2013-06-05 08:18:00 -07:00
release.sh update build script 2013-08-12 15:03:50 -07:00
select2_locale_ar.js Adding Arabic locale file 2013-05-28 13:29:22 -07:00
select2_locale_bg.js Update select2_locale_bg.js 2013-07-03 17:29:36 +03:00
select2_locale_ca.js Added Catalan translation 2013-04-06 11:48:35 +02:00
select2_locale_cs.js Update select2_locale_cs.js 2013-06-27 10:27:49 +02:00
select2_locale_da.js ... 2013-04-03 20:28:05 +02:00
select2_locale_de.js add German translation 2013-02-20 22:42:36 +01:00
select2_locale_el.js UTF8 without DOM file 2013-05-27 20:23:10 +03:00
select2_locale_en.js.template Sync translation template with source 2013-05-20 23:00:54 +09:00
select2_locale_es.js Improve ES locale 2013-08-04 19:00:32 -04:30
select2_locale_et.js Fixed language code for Estonian translation file [Fixes #1207] 2013-04-23 14:55:58 -04:00
select2_locale_eu.js Added Basque translation. 2013-03-18 16:02:55 +01:00
select2_locale_fa.js translation for Persian(Farsi) fa. 2013-07-24 17:45:00 +04:30
select2_locale_fi.js Create select2_locale_fi.js 2013-05-21 17:32:21 +05:30
select2_locale_fr.js #1429 : French locale, correct file encoding and diacritics. 2013-06-19 17:39:36 +02:00
select2_locale_gl.js Galician translation 2013-04-27 13:42:09 +02:00
select2_locale_he.js Repack Hebrew Translation. closes #1154 2013-04-08 09:57:20 -07:00
select2_locale_hr.js Add Croatian translation 2013-03-25 13:34:31 +01:00
select2_locale_hu.js added Hungarian translation 2013-02-20 02:40:45 -08:00
select2_locale_id.js Added Indonesian translation 2013-06-22 01:56:54 +07:00
select2_locale_is.js Create select2_locale_is.js 2013-05-10 16:27:37 +02:00
select2_locale_it.js add [it] locale transations 2013-02-13 00:53:25 -08:00
select2_locale_ja.js Shorten Japanese translation for formatNoMatches 2013-05-21 00:44:38 +09:00
select2_locale_ko.js Added Korean translation. 2013-06-20 14:54:15 +09:00
select2_locale_lt.js Update select2_locale_lt.js 2013-05-03 01:56:21 +03:00
select2_locale_lv.js Added Latvian translation 2013-04-29 13:53:29 +03:00
select2_locale_mk.js Macedonian locale added 2013-04-11 16:18:34 +02:00
select2_locale_ms.js Added Malay translation 2013-08-02 23:43:34 +08:00
select2_locale_nl.js Dutch language support 2013-03-07 20:24:45 +01:00
select2_locale_no.js norvegian locale 2013-05-09 08:20:35 -07:00
select2_locale_pl.js Add Polish translation 2013-03-27 15:07:52 +01:00
select2_locale_pt-BR.js improve PT locales 2013-07-31 11:23:35 -03:00
select2_locale_pt-PT.js improve PT locales 2013-07-31 11:23:35 -03:00
select2_locale_ro.js Added Romanian translation 2013-03-15 13:26:42 +02:00
select2_locale_ru.js fixed Russian translation 2013-05-03 18:10:07 +03:00
select2_locale_sk.js Create Slovak localisation file 2013-03-14 21:42:54 +01:00
select2_locale_sv.js Swedish translation 2013-03-13 19:06:08 +01:00
select2_locale_th.js Add Thai Translation 2013-07-14 16:16:29 +07:00
select2_locale_tr.js Useless space removed. 2013-03-30 12:30:29 +02:00
select2_locale_ua.js Create Ukrainian translation file 2013-03-19 22:58:59 +02:00
select2_locale_vi.js Create select2_locale_vi.js Vietnamese translation 2013-05-13 13:03:42 +07:00
select2_locale_zh-CN.js Chinese Locale Added 2013-03-04 01:46:06 +08:00
select2_locale_zh-TW.js Update select2_locale_zh-TW.js 2013-05-06 14:22:41 +08:00
select2-spinner.gif Rename spinner.gif to select2-spinner.gif to prevent collisions with very common filename. 2012-10-13 12:31:25 -05:00
select2.css Remove duplicate property. 2013-08-18 14:35:04 +02:00
select2.jquery.json modified version identifiers in descriptors for release 3.4.2 2013-08-12 15:04:12 -07:00
select2.js fix missing placeholder. closes #1614 2013-08-14 16:57:37 -07:00
select2.png Retina-ize icons 2012-08-20 16:26:18 +01:00
select2x2.png Retina-ize icons 2012-08-20 16:26:18 +01:00

Select2

Select2 is a jQuery-based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.

To get started, checkout examples and documentation at http://ivaynberg.github.com/select2

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 nested. 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+

Integrations

Internationalization (i18n)

Select2 supports multiple languages by simply including the right language JS file (select2_locale_it.js, select2_locale_nl.js, etc.).

Missing a language? Just copy select2_locale_en.js.template, translate it, and make a pull request back to Select2 here on GitHub.

Bug tracker

Have a bug? Please create an issue here on GitHub!

https://github.com/ivaynberg/select2/issues

Mailing list

Have a question? Ask on our mailing list!

select2@googlegroups.com

https://groups.google.com/d/forum/select2

Copyright 2012 Igor Vaynberg

This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU General Public License version 2 (the "GPL License"). You may choose either license to govern your use of this software only upon the condition that you accept all of the terms of either the Apache License or the GPL License.

You may obtain a copy of the Apache License and the GPL License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0 http://www.gnu.org/licenses/gpl-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the Apache License or the GPL License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License and the GPL License for the specific language governing permissions and limitations under the Apache License and the GPL License.