Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit c60c497d authored by Sebastian-Ion TINCU's avatar Sebastian-Ion TINCU
Browse files

EDELIVERY-4020 Wrong validation message is shown on new domain pop up

Fine tune the error message to indicate the maximum length.
parent 587abe55
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@
<div
*ngIf="(!editMode && domainForm.controls['smlSubdomain'].touched || editMode) && domainForm.controls['smlSubdomain'].hasError('pattern')"
style="color:red; font-size: 70%">
SML domain should only contain alphanumeric and hyphen characters, should not start with a digit and should not end with a hyphen.
SML domain should be up to 63 characters long, should only contain alphanumeric and hyphen characters, should not start with a digit and should not end with a hyphen.
</div>
<div
*ngIf="(!editMode && domainForm.controls['smlSubdomain'].touched || editMode) && domainForm.controls['smlSubdomain'].hasError('notInList')"
......@@ -56,7 +56,7 @@
<div
*ngIf="(!editMode && domainForm.controls['smlSmpId'].touched || editMode) && domainForm.controls['smlSmpId'].hasError('pattern')"
style="color:red; font-size: 70%">
SML SMP ID should only contain alphanumeric and hyphen characters, should not start with a digit and should not end with a hyphen.
SML SMP ID should be up to 63 characters long, should only contain alphanumeric and hyphen characters, should not start with a digit and should not end with a hyphen.
</div>
<div
*ngIf="(!editMode && domainForm.controls['smlSmpId'].touched || editMode) && domainForm.controls['smlSmpId'].hasError('notInList')"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment