-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
6.2.2
-
None
Validation errors for richTextFields are shown as soon as the dialog is opened.
Attempting to find a workaround for MGNLUI-6112 I added a validator to a richTextField. As soon as the dialog is opened, the error message is shown without giving the user a chance to enter anything.
Example:
test: $type: richTextField validators: mandatory: $type: regexpValidator pattern: ".+" errorMessage: This field is required
This is also true using emailValidator.
When a value is entered, it has no effect: the error message remains and the form cannot be submitted. The same regex, .+, works as expected to validate any character has been entered in a textField.
Acceptance criteria
- is related to
-
MGNLUI-6112 RichTextField and CodeField ignore required flag
- Closed