Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Update required for field instances using options_select widget
Issue #2213231 changed the configuration for field widgets that can use Chosen from a checkbox to three states for applying Chosen to the widget: No preference, Do not apply, Apply. Any field widgets that had this option checked in older versions will remain as 'Apply'. Any options_select widgets that had this value unchecked will now have a value of 'No preference' which possibly allows the site-specific settings to apply to the select field. To manually force Chosen to never be applied to a field widget, use the new 'Do not apply' option.
Chosen v1.1.0 highly recommended
The Chosen library has fixed their compatibility issues with jQuery 1.4 with the v1.1.0 release. It is highly recommended to update your library version to this version. The v1.1.0 release can be downloaded from https://github.com/harvesthq/chosen/releases/download/v1.1.0/chosen_v1.1...
jquery_update dependency removed
For those of you that were previously using 7.x-2.0-alpha3 and 7.x-2.0-alpha4, you should know that jquery_update is no longer a dependency for this module, as long as you update to the Chosen v1.1.0 library as noted above.
Changes since 7.x-2.0-beta3:
- #2213459: Fixed major regression in chosen_field_widget_info_alter().
Changes since 7.x-2.0-beta2:
- Reverted do not apply Chosen to the select elements on admin/config/user-interface/chosen. It's too handy to users to tell if it's working properly.
- #2213323 by Dave Reid: Allow chosen to be added to select_or_other widgets.
- Fixed condition that prevents library from being added if no chosen FAPI properties or classes are added to elements.
- #2213231 by Dave Reid: Made it possible to force-disable Chosen for a field widget.
- Skip adding library if the #chosen property is not set but the element has the chosen-disable class.
- Process select elements that have opted-in first, could reduce number of select elements the next section attempts to find.
- Renamed CSS classes chosen-enabled and chosen-disabled to chosen-enable and chosen-disable to resolve conflict with library CSS class chosen-disabled.
- #1915186 by Dave Reid | kaizerking: Fixed when enabled for date combo widgets, Chosen isn't applying to all select elements.