mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
CSX-460 Revert Remove excess disabled attribute PR (#11748)
This commit is contained in:
+4
-1
@@ -31,6 +31,7 @@
|
|||||||
'adf-property-value-has-error': isEditable && hasErrors,
|
'adf-property-value-has-error': isEditable && hasErrors,
|
||||||
'adf-property-value-not-editable': !editable
|
'adf-property-value-not-editable': !editable
|
||||||
}"
|
}"
|
||||||
|
[disabled]="isReadonlyProperty || !editable"
|
||||||
title="{{ property.label | translate }}"
|
title="{{ property.label | translate }}"
|
||||||
[placeholder]="property.default"
|
[placeholder]="property.default"
|
||||||
[attr.aria-label]="property.label | translate"
|
[attr.aria-label]="property.label | translate"
|
||||||
@@ -52,6 +53,7 @@
|
|||||||
'adf-property-value-editable': editable,
|
'adf-property-value-editable': editable,
|
||||||
'adf-property-readonly-value': isReadonlyProperty || !editable,
|
'adf-property-readonly-value': isReadonlyProperty || !editable,
|
||||||
}"
|
}"
|
||||||
|
[disabled]="isReadonlyProperty || !editable"
|
||||||
[placeholder]="property.default"
|
[placeholder]="property.default"
|
||||||
[attr.aria-label]="property.label | translate"
|
[attr.aria-label]="property.label | translate"
|
||||||
[formControl]="textInput"
|
[formControl]="textInput"
|
||||||
@@ -77,7 +79,7 @@
|
|||||||
>
|
>
|
||||||
{{ property.label | translate }}
|
{{ property.label | translate }}
|
||||||
</mat-label>
|
</mat-label>
|
||||||
<mat-chip-grid #chipElement class="adf-textitem-chip-list">
|
<mat-chip-grid #chipElement class="adf-textitem-chip-list" [disabled]="isReadonlyProperty || !editable">
|
||||||
<mat-chip-row *ngFor="let propertyValue of editedValue; let idx = index" [removable]="isEditable" (removed)="removeValueFromList(idx)">
|
<mat-chip-row *ngFor="let propertyValue of editedValue; let idx = index" [removable]="isEditable" (removed)="removeValueFromList(idx)">
|
||||||
{{ propertyValue }}
|
{{ propertyValue }}
|
||||||
<mat-icon *ngIf="isEditable" matChipRemove adf-icon="cancel" />
|
<mat-icon *ngIf="isEditable" matChipRemove adf-icon="cancel" />
|
||||||
@@ -96,6 +98,7 @@
|
|||||||
[matChipInputFor]="chipElement"
|
[matChipInputFor]="chipElement"
|
||||||
[matChipInputAddOnBlur]="true"
|
[matChipInputAddOnBlur]="true"
|
||||||
(matChipInputTokenEnd)="addValueToList($event)"
|
(matChipInputTokenEnd)="addValueToList($event)"
|
||||||
|
[disabled]="isReadonlyProperty || !editable"
|
||||||
[attr.data-automation-id]="'card-textitem-editchipinput-' + property.key"
|
[attr.data-automation-id]="'card-textitem-editchipinput-' + property.key"
|
||||||
/>
|
/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|||||||
Reference in New Issue
Block a user