-
Bug
-
Resolution: Not an issue
-
High
-
1.2.1
-
None
Steps to reproduce
- Add a JavaScript Field into a switchable field in using a combobox like:
label: Image form: implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener properties: imageChooser: label: Image $type: switchableField field: $type: comboBoxField defaultValue: internal layout: horizontal datasource: $type: optionListDatasource options: - name: internal label: Image Dialog value: internal - name: cloudinary label: Cloudinary Widget value: cloudinary itemProvider: $type: jcrChildNodeProvider forms: - name: internal properties: image: label: Image $type: damLinkField - name: cloudinary properties: cloudinaryImage: label: Text color $type: javascriptField fieldScript: /headless-ecommerce/webresources/colorField.html height: 50
- Open the dialog and try to switch to the part with the js field
.. Logs, screenshots, gifs...
Expected results
.. Justify non-trivial expectations with a link to a doc or a relevant discussion.
Actual results
see: js-field-error.log
Workaround
It is working with the $type: comboBoxField.
Development notes
Acceptance criteria