Select2 element
Categories
Component ID
1748434
Component name
Select2 element
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Select2 element module integrates the Select2 jQuery plugin http://ivaynberg.github.com/select2/ with Drupal. It is responsible for changing select and autocomplete textfields into corresponding Select2 widgets by changing the form element type.
How to install
- Update jQuery Update module to the latest dev version
- Install Libraries API module
- Copy jQuery 1.4.2 library to sites/all/libraries/jquery/jquery-1.4.2.min.js
- Copy Select2 library to sites/all/libraries/select2
- Install jQuery Multi module (keep default settings)
- Install this module and use the settings page for further changes
Warning
Note that you should use jQuery UI autocomplete plugin unless you want to take advantage of any of the Select2 advanced features that are not present in autocomplete (e.g. loading more results by Ajax when scrolling to the bottom of the autocomplete results).
