Details
-
Bug
-
Resolution: Outdated
-
Neutral
-
None
-
5.6.11, 5.7.5
-
None
Description
From SUPPORT-10623: i18n not working in multi-value composite field
Use below simplified version of the ticket, we can verify the issue of the i18n tab (under form > tabs) configuration:
- name: tabReferenceAvis
label: Reference Avis
i18n: true
fields:
- name: referenceTitle
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
i18n: true
label: Title
- name: referenceList
class: info.magnolia.ui.form.field.definition.MultiValueFieldDefinition
i18n: true
label: Items
transformerClass: info.magnolia.ui.form.field.transformer.multi.MultiValueSubChildrenNodePropertiesTransformer
field:
class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
i18n: true
transformerClass: info.magnolia.ui.form.field.transformer.composite.NoOpCompositeTransformer
fields:
refHeading:
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
i18n: true
label: Heading
refValue:
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
i18n: true
label: Value
refLink:
appName: pages
class: info.magnolia.ui.form.field.definition.LinkFieldDefinition
description: Will render a link when Page type is selected
i18n: true
label: Value URL
targetWorkspace: website
refValueNote:
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
i18n: true
label: Value note
refType:
class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
label: Value type
options:
1:
label: Page
selected: true
2:
label: Telephone
3:
label: Email
refFeature:
class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
label: Feature value
options:
1:
label: No
selected: true
2:
label: Yes
Changing language does not affect to configured sub-fields.
PS: please also consider fixing for "workaround doesn't allow for the multivalue field to be moved and swapped with other list items"
Checklists
Acceptance criteria