[MGNLUI-6684] Switchable field only displays the first field of multi-field forms Created: 03/May/21 Updated: 07/Jul/21 Resolved: 14/May/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.8 |
| Fix Version/s: | 6.2.9 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Richard Gange | Assignee: | Adam Siska |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: | |||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Bug DoR: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Epic Link: | UI framework implementation | ||||||||||||||||||||
| Sprint: | UI FW 28 | ||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||
| Description |
|
The switchable field only displays the first field when the form has multiple fields. Reproduce
form:
properties:
switchable:
label: Switchable
$type: switchableField
field:
$type: radioButtonGroupField
layout: horizontal
datasource:
$type: optionListDatasource
options:
- name: foo
value: foo
label: Foo
- name: bar
value: bar
label: Bar
itemProvider:
$type: jcrChildNodeProvider
forms:
- name: foo
properties:
foo:
label: Text 1
$type: textField
foo2:
label: Text 2
$type: textField
- name: bar
properties:
bar:
label: Rich text
$type: richTextField
bar2:
label: Text
$type: textField
Actual Expected Notes |