Experimental project

This is a sandbox project, which contains experimental code for developer use only.

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

  1. Update jQuery Update module to the latest dev version
  2. Install Libraries API module
  3. Copy jQuery 1.4.2 library to sites/all/libraries/jquery/jquery-1.4.2.min.js
  4. Copy Select2 library to sites/all/libraries/select2
  5. Install jQuery Multi module (keep default settings)
  6. 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).

Project information

  • Module categories: Integrations
  • Created by jauzah on , updated