Select2.js 4.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Select2.js --version 4.0.1
NuGet\Install-Package Select2.js -Version 4.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Select2.js" Version="4.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Select2.js --version 4.0.1
#r "nuget: Select2.js, 4.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Select2.js as a Cake Addin
#addin nuget:?package=Select2.js&version=4.0.1

// Install Select2.js as a Cake Tool
#tool nuget:?package=Select2.js&version=4.0.1

A jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on Select2.js:

Package Downloads
Serenity.Web.Assets The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains static assets for Serenity web applications

Select2-Bootstrap-Theme

A Select2 v4 Theme for Bootstrap 3

Angular.UI

The enhancement companion suite to the AngularJS framework

Select2-Bootstrap

Bare bones stylesheet for making select2 fit in with bootstrap a bit better

Vault.js

Part of Vault libraries set designed to enhance experience with latest UI frameworks.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Select2.js:

Repository Stars
rstropek/Samples
Version Downloads Last updated
4.0.13 557,484 5/15/2020
4.0.11 188,082 10/15/2019
4.0.7 98,844 6/4/2019
4.0.6 30,808 5/6/2019
4.0.6-rc0 13,850 11/7/2017
4.0.5 768,101 10/29/2017
4.0.3 686,898 5/31/2016
4.0.2 149,892 3/15/2016
4.0.1 76,825 1/14/2016
4.0.0 234,708 7/26/2015
3.5.4 22,261 7/12/2018
3.5.3 3,525 7/12/2018
3.5.2 443,410 11/3/2014
3.5.1 581,406 7/30/2014
3.5.0 32,601 6/23/2014
3.4.8 36,644 5/5/2014
3.4.6 33,597 3/25/2014
3.4.5 65,565 11/19/2013
3.4.3.1 80,471 9/19/2013
3.4.3 3,902 9/18/2013
3.4.2 5,716 9/6/2013
3.4.1.2 17,721 7/29/2013
3.4.1.1 36,978 7/16/2013
3.4.1 4,396 7/12/2013
3.4.0 21,597 5/28/2013
3.3.2 14,591 4/15/2013
3.2.1 52,649 1/23/2013
3.2.0 224,072 1/5/2013

New features in 4.0.1

- The option container is now passed in as the second argument when templating selections using templateResult [dc516e7]
- The option container is now passed in as the second argument when templating selections using templateSelection [#3324]
- You can immediately start typing to search when tabbing into a multiple select [02cca7b, 79cdcc0]
- All parameters passed in for AJAX requests are now set as query string parameters by default [#3548]

Bug fixes

- The search box will now be properly sized after removing a selection [5f80c5d]
- Dropdown results will now be spoken by screen readers [9fae3d7]
- Options are now properly cloned when initializing multiple instances at once [3c8366e]
- selectOnClose and now be used with closeOnSelect without getting a stack overflow [393ca4c]
- Fixed positioning with non-static parents [c9216b4]
- Fixed bug where multiple selects with placeholders were buggy in IE [#3300]
- Fixed bug where AJAX selects could not be initialized with array data [#3375]
- :all: is now correctly removed when used in containerCss and dropdownCss options [#3464]
- Fixed bug where the multiple select search box would appear on the left in RTL mode [#3502]
- Change ALT + UP to close the dropdown instead of opening it [d2346cc]
- Fix focus issue with the multiple select search box when the change event was triggered [698fe7b, 88503d2, dd2990a]
- Fix bug in ArrayAdapter where the existing <option> data would be used instead of the array data [#3565]
- Remove random call to $dropdownContainer.width() in the AttachBody decorator [#3654]
- Fix memory leak in AttachBody decorator [671f5a2]
- Selections can no longer be removed when Select2 is in a disabled state [68d068f, 7d8f86c]
- Remove redundant open event trigger [#3507]
- Correct references to this in ajax.data and ajax.url callback functions [#3361]
- Apply select2('option') calls on all elements [#3495]

Design

- Fixed original <select> not always being hidden correctly in some cases [#3301]
- Fix potential issue with Bootstrap's gradients in Internet Explorer [#3307]
- Improve compatibility with Zurb Foundation [#3290]
- Remove padding on mobile safari search field in multiple selects [#3605]
- Fix the clear button appearing beneath long text [#3306]
- Migrate the CSS classes for the "Loading more results" message to BEM [#3889]
- Fix inline search not displaying properly in Safari [#3459]