AAE-11810 added conditional class to indicate validation error (#8090)

This commit is contained in:
tomasz hanaj
2023-01-09 12:57:53 +01:00
committed by GitHub
parent 198c230086
commit 10d49f4582

View File

@@ -7,7 +7,7 @@
<div *ngSwitchDefault> <div *ngSwitchDefault>
<mat-form-field class="adf-property-field adf-card-textitem-field" <mat-form-field class="adf-property-field adf-card-textitem-field"
[ngClass]="{ 'adf-property-read-only': !isEditable }" [ngClass]="{ 'adf-property-read-only': !isEditable,'adf-property-field-has-error': isEditable && hasErrors }"
[floatLabel]="'never'"> [floatLabel]="'never'">
<input matInput <input matInput
*ngIf="!property.multiline" *ngIf="!property.multiline"