-
Bug
-
Resolution: Outdated
-
Major
-
None
-
6.0
-
None
I have created a dialog inside a content app that uses a switchable field. This is a PoC for a client that needs a multi-lingual UI so I am using a resource bundle to load the field labels.
The rest of the bundle is is working fine but the labels on the switchable field's options are not. Whichever language is first used to view the field after restarting the server becomes "stuck" as the label for these options.
- name: department
class: info.magnolia.ui.form.field.definition.SwitchableFieldDefinition
transformerClass: info.magnolia.ui.form.field.transformer.composite.DelegatingCompositeFieldTransformer
options:
- name: myDepartment
selected: true
value: myDepartment
- name: entireUniversity
value: entireUniversity
- name: anotherDepartment
value: anotherDepartment
events.audience.department.options.myDepartment = min avdelning events.audience.department.options.entireUniversity = hela universitetet events.audience.department.options.anotherDepartment = en annan avdelning
events.audience.department.options.myDepartment = My department events.audience.department.myDepartment.myDepartmentName.label = Your department events.audience.department.options.anotherDepartment = Another department
Acceptance criteria
- is superseded by
-
MGNLUI-5881 I18n not working for OptionListDefinition
- Closed