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.
When we have chained selects as in structure/types/manage/article/fields the dependent select (field widget) changes its options when we change value in the main select (field type), but corresponding Chosen code doesn’t change so it would be non-functional.
I solved this problem adding to the method jQuery.fn.fieldUIPopulateOptions after $(this).html…; in modules/field_ui/field_ui.js:
$(this).trigger("liszt:updated");
Comments
Comment #1
Cyclodex CreditAttribution: Cyclodex commentedComment #2
safetypinAny progress on this? Obviously not a killer, but chosen is so nice that I want to use it everywhere.
Comment #3
Hydra CreditAttribution: Hydra commentedI think we can close this, since in 2.x we can use it everywhere :)