Closed (fixed)
Project:
Custom Language field
Version:
8.x-1.9
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2020 at 13:31 UTC
Updated:
25 Sep 2024 at 15:34 UTC
Jump to comment: Most recent
Comments
Comment #2
johnvI tested this in Drupal 9 with module version 8x-1.5+dev. It works fine.
Comment #3
johnvReset to 'Active'.
After applying #3192811: Autocomplete controller permission and using a basic user, the error appears.
Apparently, it has something to do with the permissions, together with #3195763: Support 'Disable language' module.
Comment #4
johnvIt works when the complex language is surrounded by quotes, like this: Bulgarian, Burmese, English, "Chinese, Simplified" .
In display, the same result appears.
Comment #5
johnvComment #8
kuzyawkk commentedHi, in comment !4 johnv described that the widget would work correctly if you wrap the language in quotes, then everything will work correctly. I added JavaScript, which automatically adds quotes when you select a language with autocomplete.
Before: Chinese, Simplified
After: "Chinese, Simplified"
Comment #9
cedricl commentedCan confirm the changes in the MR fix the issue.
Comment #11
johnvThanks, committed.
I added some code when the field is a multi-value field.