-
Bug
-
Resolution: Fixed
-
Neutral
-
1.1.7
-
None
Steps to reproduce
- Make use of the following dialog:
form: implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener $type: tabbedForm tabs: tabOne: label: Tab-1 fields: image: $type: damLinkField title: $type: textField i18n: true height: 150 required: true multiValueFieldTest: $type: jcrMultiValueField i18n: true field: $type: textField tabTwo: label: Tab-2 fields: multiValueFieldTestTab2: $type: jcrMultiValueField i18n: true field: $type: textField
- Open tabbed dialog with jcrMultiValueField and add values for all languages (f.e. EN and DE)
- Save changes
- Open dialog again
- Change language
Expected results
Values are saved for both languages
Actual results
Values are only saved for first language
Development notes
This is not happening with default UI, for example, the following dialog would produce expected results:
form: properties: image: $type: damLinkField title: $type: textField i18n: true height: 150 required: true multiValueFieldTest: $type: jcrMultiValueField i18n: true field: $type: textField layout: $type: tabbedLayout tabs: tab1: fields: - name: title - name: multiValueFieldTest tab2: fields: - name: image
Acceptance criteria
- is cloned by
-
JSFIELD-14 Field value is lost from state when using and switching tabs in dialog
- Closed