Select2.js
4.0.1
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
<PackageReference Include="Select2.js" Version="4.0.1" />
<PackageVersion Include="Select2.js" Version="4.0.1" />
<PackageReference Include="Select2.js" />
paket add Select2.js --version 4.0.1
#r "nuget: Select2.js, 4.0.1"
#:package Select2.js@4.0.1
#addin nuget:?package=Select2.js&version=4.0.1
#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.
Learn more about Target Frameworks and .NET Standard.
-
- jQuery (>= 1.7.0)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Select2.js:
| Package | Downloads |
|---|---|
|
Serenity.Web.Assets
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 |
|
|
Vault.js
Part of Vault libraries set designed to enhance experience with latest UI frameworks. |
|
|
Select2-Bootstrap
Bare bones stylesheet for making select2 fit in with bootstrap a bit better |
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 | 926,396 | 5/15/2020 |
| 4.0.11 | 254,684 | 10/15/2019 |
| 4.0.7 | 115,019 | 6/4/2019 |
| 4.0.6 | 36,893 | 5/6/2019 |
| 4.0.6-rc0 | 15,822 | 11/7/2017 |
| 4.0.5 | 944,438 | 10/29/2017 |
| 4.0.3 | 828,301 | 5/31/2016 |
| 4.0.2 | 178,932 | 3/15/2016 |
| 4.0.1 | 87,733 | 1/14/2016 |
| 4.0.0 | 291,911 | 7/26/2015 |
| 3.5.4 | 38,058 | 7/12/2018 |
| 3.5.3 | 4,405 | 7/12/2018 |
| 3.5.2 | 667,092 | 11/3/2014 |
| 3.5.1 | 835,519 | 7/30/2014 |
| 3.5.0 | 72,815 | 6/23/2014 |
| 3.4.8 | 42,148 | 5/5/2014 |
| 3.4.6 | 37,089 | 3/25/2014 |
| 3.4.5 | 84,802 | 11/19/2013 |
| 3.4.3.1 | 98,740 | 9/19/2013 |
| 3.4.3 | 4,430 | 9/18/2013 |
| 3.4.2 | 6,586 | 9/6/2013 |
| 3.4.1.2 | 22,070 | 7/29/2013 |
| 3.4.1.1 | 40,685 | 7/16/2013 |
| 3.4.1 | 4,986 | 7/12/2013 |
| 3.4.0 | 24,442 | 5/28/2013 |
| 3.3.2 | 17,425 | 4/15/2013 |
| 3.2.1 | 54,759 | 1/23/2013 |
| 3.2.0 | 238,480 | 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]