Chosen uses the Chosen jQuery plugin to make your
<select> elements more user-friendly.
- Download the Chosen jQuery plugin and extract the file under sites/all/libraries (The Drupal 8 version uses version 1.5 or higher).
- Download and enable the module.
- Configure at Administer > Configuration > User interface > Chosen (requires administer site configuration permission)
How to use Chosen as a widget in Fields UI:
Chosen can be applied to select list widgets. Go to the field settings and check "Apply Chosen to this field".
Installation via Drush
A Drush command is provided in the latest versions for easy installation of the Chosen plugin.
The command will download the plugin and unpack it in "sites/all/libraries".
It is possible to add another path as an option to the command, but not
recommended unless you know what you are doing.
For the Drupal 8 version, if you are using Composer to manage your site's dependencies, then the Chosen plugin will automatically be downloaded to `libraries/chosen`.
The 7.x-2.0-alpha2 and 7.x-2.0-alpha4 releases added a dependency on the jQuery Update module. As of 7.x-2.0-beta1 this dependency has been removed.
The Drupal 8 version has no dependencies.