@hmcts/ccd-case-ui-toolkit 7.3.75-inconsistent-validation-error-message → 7.3.75-minimist-update
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11762,11 +11762,6 @@ class CaseEditPageComponent {
|
|
|
11762
11762
|
this.caseEditDataService.addFormValidationError({ id, message: `%FIELDLABEL% exceeds the maximum length`, label });
|
|
11763
11763
|
fieldElement.markAsDirty();
|
|
11764
11764
|
}
|
|
11765
|
-
else if (fieldElement.hasError('markDownPattern')) {
|
|
11766
|
-
this.caseEditDataService.addFormValidationError({
|
|
11767
|
-
id, message: `The data entered is not valid for %FIELDLABEL%. Link mark up characters are not allowed in this field.`, label
|
|
11768
|
-
});
|
|
11769
|
-
}
|
|
11770
11765
|
else if (fieldElement.invalid) {
|
|
11771
11766
|
if (casefield.isComplex()) {
|
|
11772
11767
|
errorPresent = this.generateErrorMessage(casefield.field_type.complex_fields, fieldElement, id, true);
|