-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8975 qa no error menssage on addional email (#2118)
* 8975-qa-no-error-menssage-on-addional-email * 8975-qa-no-error-menssage-on-addional-email * 8975-qa-no-error-menssage-on-addional-email * 8975-qa-no-error-menssage-on-addional-email
- Loading branch information
1 parent
39be027
commit 4188d65
Showing
6 changed files
with
33 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 7 additions & 11 deletions
18
src/app/register2/components/backend-error/backend-error.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,13 @@ | |
index as i | ||
" | ||
> | ||
<mat-label class="orc-font-small-print" id="additional-email-label"> | ||
<mat-label | ||
class="orc-font-small-print" | ||
id="additional-email-label" | ||
[ngClass]="{ | ||
error: additionalEmailsTouched && additionalEmails.valid === false | ||
}" | ||
> | ||
<ng-container i18n="@@register.additionalEmails" | ||
>Additional email</ng-container | ||
> | ||
|
@@ -36,19 +42,21 @@ | |
> | ||
Please enter a valid email address, for example [email protected] | ||
</mat-error> | ||
<mat-error | ||
*ngFor=" | ||
let error of getControlErrorAtFormLevel( | ||
additionalEmailControl.value, | ||
'backendErrors' | ||
) | ||
" | ||
> | ||
<app-backend-error | ||
[errorCode]="error" | ||
[value]="additionalEmailControl.value.value" | ||
></app-backend-error> | ||
</mat-error> | ||
<ng-container *ngIf="additionalEmailsTouched"> | ||
<mat-error | ||
*ngFor=" | ||
let error of getControlErrorAtFormLevel( | ||
additionalEmailControl.value, | ||
'backendErrors' | ||
) | ||
" | ||
> | ||
<app-backend-error | ||
[errorCode]="error" | ||
[value]="additionalEmailControl.value.value" | ||
></app-backend-error> | ||
</mat-error> | ||
</ng-container> | ||
|
||
<!-- <button | ||
*ngIf="i == 0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters