Select2.js 4.0.3

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

There is a newer version of this package available.
See the version list below for details.
Install-Package Select2.js -Version 4.0.3
dotnet add package Select2.js --version 4.0.3
<PackageReference Include="Select2.js" Version="4.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Select2.js --version 4.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

New features in 4.0.3

The old dropdownAutoWidth option now properly works [fe26b08]
A focus event on the original <select> is now handled [31e7a1d]
Adding and removing options now refreshes the selection automatically [ea79a19]

Bug fixes

select2('option') no longer mutate the arguments when working on multiple elements [c2c1aee]
Better detect aborted requests [cfb66f5]
New options are now properly created during tokenization [3b8cd2e]
Fix positioning bug with non-static parents for the dropdown [#4267]
Infinite scrolling no longer resets the keyboard focus [e897d00, 9f58128]
selectOnClose now works properly with closeOnSelect [481c438]
Apply ajax.delay to empty search terms as well [4b9e02f]

NuGet packages (10)

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

Package Downloads
Serenity.Web.Assets
Contains static assets for Serenity web applications
Angular.UI
The enhancement companion suite to the AngularJS framework
Select2-Bootstrap-Theme
A Select2 v4 Theme for Bootstrap 3
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
Sustainsys/Saml2
Saml2 Authentication services for ASP.NET

Version History

Version Downloads Last updated
4.0.13 5,594 5/15/2020
4.0.11 44,847 10/15/2019
4.0.7 46,365 6/4/2019
4.0.6 10,139 5/6/2019
4.0.6-rc0 6,831 11/7/2017
4.0.5 275,005 10/29/2017
4.0.3 351,568 5/31/2016
4.0.2 58,948 3/15/2016
4.0.1 43,079 1/14/2016
4.0.0 82,373 7/26/2015
3.5.4 3,917 7/12/2018
3.5.3 459 7/12/2018
3.5.2 195,710 11/3/2014
3.5.1 143,896 7/30/2014
3.5.0 17,779 6/23/2014
3.4.8 17,056 5/5/2014
3.4.6 16,583 3/25/2014
3.4.5 31,469 11/19/2013
3.4.3.1 19,320 9/19/2013
3.4.3 1,015 9/18/2013
3.4.2 2,290 9/6/2013
3.4.1.2 10,538 7/29/2013
3.4.1.1 25,016 7/16/2013
3.4.1 1,159 7/12/2013
3.4.0 14,454 5/28/2013
3.3.2 9,593 4/15/2013
3.2.1 32,381 1/23/2013
3.2.0 160,676 1/5/2013
Show less