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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

s_leu created an issue. See original summary.

s_leu’s picture

Status: Active » Needs review
FileSize
5.46 KB

Adding a patch against latest dev that fixes the problem.

kala4ek’s picture

Assigned: Unassigned » kala4ek

  • kala4ek committed 0a124aa on 8.x-2.x authored by s_leu
    Issue #2898573 by s_leu, kala4ek: Multiple chosen blocks on one page don...
kala4ek’s picture

Assigned: kala4ek » Unassigned
Status: Needs review » Fixed

Thanks for the catch. Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.