Skip to content

Commit

Permalink
fix(material/forms): add translation for error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sara-gnucoop authored and robzan8 committed Jun 15, 2023
1 parent 17b5e98 commit af26549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/material/forms/src/form.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ <h2>
*ngIf="(fieldInstance|ajfAsFieldInstance)?.valid !== true; else ajfValidFieldTemplate"
>
<span class="ajf-field-error-message"
>{{(fieldInstance|ajfAsFieldInstanceErrors)}}</span
>{{(fieldInstance|ajfAsFieldInstanceErrors|transloco)}}</span
>
<mat-icon class="ajf-warning">warning</mat-icon>
</ng-container>
Expand Down

0 comments on commit af26549

Please sign in to comment.