github select2/select2 4.0.0-beta.3
4.0.0 Beta 3

latest releases: 4.1.0-rc.0, 4.1.0-beta.1, 4.1.0-beta.0...
pre-release9 years ago

This is the third beta release of Select2 4.0.

This builds upon the previous beta release, so review all previous release notes before upgrading from previous versions of Select2.

New features

  • Added backwards compatibility with the old query and initSelection methods in the full builds.
  • Select2 is now fully compatible with most AMD loaders when using the AMD build.
  • The default values for options are now publicly accessible. You find out how to use them in the documentation.
  • Select2 will now work with jQuery.noConflict without any issues.
  • You can use more specific locales (like en-US) and Select2 will be able to determine what translation files to load.
  • Improved the warning and error messages when Select2 detects an abnormal configuration.

Breaking changes

  • The full build of Select2 no longer includes jQuery - You must include jQuery separately on your page.
  • Select2 will prevent the inner scrolling of modals (and other scrollable containers) when it is open to prevent the UI from breaking. Read more at the commit.
  • jQuery is no longer listed as a dependency in the bower.json/component.json files.

Removed events

  • select2-clearing - Removed in favor of select2:unselecting which will be triggered

Don't miss a new select2 release

NewReleases is sending notifications on new releases.