Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With Chosen, on content type admin pages for fields, after choosing a field type (e.g. Text) the next field to select Widget is broken. Behind the scenes the options for the widgets is filtered to only show Text widgets. But the Chosen widget still thinks all options are shown and then the selected option value index is out of range.
Error: "Uncaught TypeError: Cannot set property 'selected' of undefined chosen.jquery.js:732"
When the native select element is modified/updated the Chosen widget should also update.
Comments
Comment #1
Hydra CreditAttribution: Hydra commented#1857044: Allow Use of Chosen on Menu Selection