-
Improvement
-
Resolution: Fixed
-
Neutral
-
2.2.5
In a form field one can choose only one validator to use (one drop down).
This means that if you use 2-3 validators in your project very often, one must encapsulate their logic into a single one.
An example
- Regexp validator with general check for all fields.
- Password validator for the password field.
Possible solutions
- A multifield value should be used to allow choosing a 1:n relation.
Use a coma-separated list of validators (with custom transformer for the validator field)
Acceptance criteria
- is related to
-
MGNLSTK-1424 Adjust bootstrap files of demo-project and migrate field to use multi-valued property for form validation
- Closed
-
MGNLFORM-250 Adding release notes to "MGNLFORM-235 Allow using more than one validator..." for updateTask
- Closed