-
Bug
-
Resolution: Fixed
-
Major
-
6.2.6
Steps to reproduce
add the following field to a content app detail view
sample:
$type: switchableField
field:
$type: comboBoxField
layout: horizontal
datasource:
$type: optionListDatasource
scrollToSelectedItem: true
defaultValue: fastly
options:
- name: fast
value: fast
- name: other
value: other
itemProvider:
$type: jcrChildNodeProvider
forms:
- name: fast
properties:
token:
$type: textField
mytestfield:
$type: textField
defaultValue: test
- name: other
properties:
other:
$type: hiddenField #originally staticField, but that one is not saved, probably was just a wrong config/typo
Expected results
When opening the dialog mytestfield should have the value test, or if using a hiddenfield the value should be visible in jcr
Actual results
no default value in any of the tested fields, the hiddenfield is not saved
Workaround
save the value manually in jcr if using a hidden field
Development notes
Acceptance criteria
- duplicates
-
MGNLUI-6680 ComboBox nested within SwitchableField doesn't display defaultValue when it's Boolean type
- Closed
- is related to
-
MGNLUI-5325 Support defaultValue in fields of new ui framework
- Closed
- mentioned in
-
Page Loading...