Problem/Motivation
After adding language switcher block it throws below error when trying to switch to different language.

Steps to reproduce
Add `language_dropdown_switcher` block
Load the page where the block was added and check console error.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | undefined-error-3197635.patch | 4.47 KB | hitesh-jain |
| Screenshot 2021-02-10 at 9.42.42 AM.png | 603.07 KB | hitesh-jain |
Comments
Comment #2
hitesh-jain commentedComment #3
hitesh-jain commentedComment #4
duneblI confirm that #3 is solving the issue.
I am using the
chosenlibrary and the patch solve this issue.Note:
1-At the beginning, I was using the
chosenlibrary without using thechosenmodule and it was fine.2-Next, I installed the
chosenmodule (outputing the dropdown as html as requested) and I got the console error which was fixed by this patch.Hope this help.
Comment #5
kala4ekComment #7
kala4ek