[MGNLUI-3312] SwitchableField doesn't work correctly with "required" property Created: 05/Jan/15 Updated: 17/Feb/15 Resolved: 17/Feb/15 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | forms |
| Affects Version/s: | 5.3.6 |
| Fix Version/s: | 5.3.7 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Jan Haderka | Assignee: | Mikaël Geljić |
| 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: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
As for all fields, one can also set SwitchtableField as mandatory by setting it's required property to true. However when doing so, it is no longer possible to save the form with the field at all. Also setting set property on the subfields doesn't solve the issue unless all and not only currently selected subfield is filled with data. |
| Comments |
| Comment by Tom Wespi [ 29/Jan/15 ] |
| Comment by Mikaël Geljić [ 17/Feb/15 ] |
|
Hi there, Indeed, Besides, the reverted ticket (improve validation of multi-fields) was then cloned as Cheers, |