-
Bug
-
Resolution: Duplicate
-
Neutral
-
None
-
None
-
None
-
None
Steps to reproduce
- Create a component which has a Combobox field within a Switchable Field, e.g:
label: Test form: properties: test1: $type: switchableField itemProvider: $type: jcrChildNodeProvider field: $type: comboBoxField defaultValue: false datasource: $type: optionListDatasource options: - name: false value: false label: no - name: true value: true label: yes
- Create the dialog and check the result
Expected results
Value false is pre-selected
Actual results
No value is selected
Workaround
N/A
Development notes
If the Combobox field is not nested within a Switchable field, the defaultValue property works and the false option is pre-selected when the dialog opens
Acceptance criteria
- is duplicated by
-
MGNLUI-6627 defaultValue not working for fields inside a switchable
- Closed