-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
5.4.2
-
-
Empty show more show less
-
Basel 17
-
1
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.Field12.Validator
Option2.Field21
Option2.Field21.Validator
Option3.Field31
Option3.Field32.Validator
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
1. Ignore all values under Option1 under Switch Field Definition
2. Ignore all validations on Option1 under Switch Field Definition
- Again the reason being, Option 2 was the selected option by the user
- is superseded by
-
MGNLUI-3625 SwitchableField should only validate selected field
- Closed