CSX-460 Revert Remove excess disabled attribute PR (#11748)

This commit is contained in:
Samuel Fialho
2026-03-19 10:20:53 +00:00
committed by GitHub
parent e57910f5c3
commit a50dfd050d
@@ -31,6 +31,7 @@
'adf-property-value-has-error': isEditable && hasErrors,
'adf-property-value-not-editable': !editable
}"
[disabled]="isReadonlyProperty || !editable"
title="{{ property.label | translate }}"
[placeholder]="property.default"
[attr.aria-label]="property.label | translate"
@@ -52,6 +53,7 @@
'adf-property-value-editable': editable,
'adf-property-readonly-value': isReadonlyProperty || !editable,
}"
[disabled]="isReadonlyProperty || !editable"
[placeholder]="property.default"
[attr.aria-label]="property.label | translate"
[formControl]="textInput"
@@ -77,7 +79,7 @@
>
{{ property.label | translate }}
</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)">
{{ propertyValue }}
<mat-icon *ngIf="isEditable" matChipRemove adf-icon="cancel" />
@@ -96,6 +98,7 @@
[matChipInputFor]="chipElement"
[matChipInputAddOnBlur]="true"
(matChipInputTokenEnd)="addValueToList($event)"
[disabled]="isReadonlyProperty || !editable"
[attr.data-automation-id]="'card-textitem-editchipinput-' + property.key"
/>
</mat-form-field>