mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-11810 added conditional class to indicate validation error (#8090)
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user