This is the first release candidate of Select2 4.0.
This builds upon the previous beta release, so review all previous release notes before upgrading from previous versions of Select2.
- This fixes many regressions that were present in previous pre-releases.
New features
- Limited support for
<input type="text" />
tags was added back in for full builds. [https://github.com//pull/3051] - Compatibility was added back for Internet Explorer 8 and Opera 12.
.select2('data')
can once again be used to retrieve a list of the selected options (read-only). [https://github.com/select2/select2/commit/61a231d868a9c0c8e227af0c331734825a72e82d]
Breaking changes
- Select2 no longer stops the propagation of events happening within the dropdown and selection. You can use the
StopPropagation
modules available in the full builds to prevent this. [https://github.com/select2/select2/commit/8f8140e3b00c5d5bb232455137c4c633d7da4275] - The enter key no longer toggles the state of multiple select items in the results, but instead will only select them. Use CTRL + Space instead to toggle the state. [https://github.com/select2/select2/commit/017c20109471fa5b835603faf5dc37f7c2c2ea45]
- Warnings will now be triggered in the developer console if Select2 detects an unsupported configuration.