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.
Problem/Motivation
When adding 2 or more language switcher downdown blocks that use the chosen library, only the first of them is actually turned into a chosen select widget. The others remain as plain html selects, which is not what I would expect from this module. The expectation is, that all dropdowns are using the chosen library.
Proposed resolution
Change the structure of the data, which is passed down to JS in order to make this work.
Comment | File | Size | Author |
---|---|---|---|
#2 | multiple_chosen_blocks_d8-2898573-2.patch | 5.46 KB | s_leu |
Comments
Comment #2
s_leu CreditAttribution: s_leu at Station commentedAdding a patch against latest dev that fixes the problem.
Comment #3
kala4ekComment #5
kala4ekThanks for the catch. Committed.