[MGNLUI-3619] SwitchableFieldDefinition does not clear Validation and Values for the option NOT selected Created: 05/Oct/15 Updated: 15/Apr/16 Resolved: 02/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | forms |
| Affects Version/s: | 5.4.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical |
| Reporter: | Avinash Palayadi | Assignee: | Federico Grilli |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | support | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 10m | ||
| 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: | |||||||||
| Sprint: | Basel 17 | ||||||||
| Story Points: | 1 | ||||||||
| Description |
|
If we have a SwitchableFieldDefinition, where every option takes a set of fields. We have validators for some fields with in an option For Example: Option1.Field11.Validator Option2.Field21 Option3.Field31 The problem we are facing is if we choose an option eg. Option1 and enter some invalid data only on Field11, then choose another option eg. Option2 enter all valid data under it and submit Save, the validation gets enabled for all the fields and save form action fails. Our expectation was Magnolia UI to
|
| Comments |
| Comment by Federico Grilli [ 02/Nov/15 ] |
|
Superseded by |
| Comment by Ilgun Ilgun [ 02/Nov/15 ] |
|
Why this is resolved? It should be closed instead. If another ticket is/will provide solution. |
| Comment by Federico Grilli [ 02/Nov/15 ] |
|
I'd still like to have a second opinion before closing it. |