Skip to content

Commit

Permalink
fix: Update additional email message error (#2101)
Browse files Browse the repository at this point in the history
* fix: Update additional email message error

* fix: Refactor conditional `additional email` message error
  • Loading branch information
DanielPalafox authored Dec 5, 2023
1 parent 21afdd3 commit 95f1d73
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
</mat-form-field>
<mat-error
*ngIf="
(additionalEmailsTouched &&
additionalEmails.hasError('email', additionalEmailControl.key)) ||
additionalEmails.hasError('pattern', additionalEmailControl.key)
additionalEmailsTouched &&
(additionalEmails.hasError('email', additionalEmailControl.key) ||
additionalEmails.hasError('pattern', additionalEmailControl.key))
"
i18n="@@register.invalidEmail"
i18n="@@register.invalidEmail2"
>
Invalid email format
Please enter a valid email address, for example [email protected]
</mat-error>
<mat-error
*ngFor="
Expand Down

0 comments on commit 95f1d73

Please sign in to comment.