[DOCU-2042] Switchable Field: Clarify the references between the option-group and the form Created: 10/Aug/20 Updated: 20/Oct/21 Resolved: 20/Oct/21 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Christian Ringele | Assignee: | Ashraf Khamis |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
Situation:
Problem:
switchable:
$type: switchableField
field:
$type: radioButtonGroupField
datasource:
$type: optionListDatasource
options:
- name: foo
value: foo
- name: bar
value: bar
itemProvider:
$type: jcrChildNodeProvider
forms:
- name: foo
properties:
foo:
$type: textField
- name: bar
properties:
bar:
$type: richTextField
switchable: $type: switchableField label: Test Switchable field: $type: radioButtonGroupField datasource: $type: optionListDatasource options: - name: whatever1 value: foo label: Foo - name: whatever2 value: bar label: Bar itemProvider: $type: jcrChildNodeProvider forms: - name: foo properties: whatever3: $type: textField label: Foo - name: bar properties: whatever4: $type: richTextField label: Bar
|
| Comments |
| Comment by Roman Kovařík [ 20/Oct/21 ] |
|
So the description could be just: option names of switchable field are ignored, just the option value is relevant. |
| Comment by Ashraf Khamis [ 20/Oct/21 ] |
|
Closing the ticket as Won't Do. See Roman's comment above. |