-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
UI Framework & 6.2 Ramp up 15
-
3
Providing defaultValue for RadioButtonGroupField (bellow $type: radioButt... line, see docu example) in SwitchableField definition causes ClassCastException.
1) defaultValue: foo
This causes CCE: java.lang.String cannot be cast to info.magnolia.ui.form.Option
2) defaultValue:
class: info.magnolia.ui.form.Option
name: foo
value: foo
This causes CCE: info.magnolia.ui.form.Option cannot be cast to java.lang.String
https://documentation.magnolia-cms.com/display/DOCS62/Switchable+field+-+6+UI
Acceptance criteria
- is related to
-
MGNLUI-5471 Allow select fields non-string values (i.e. ditch hardcoded conversion of selected item to link)
- Closed