Remove excess disabled attribute (#11680)

This commit is contained in:
Michal Kinas
2026-02-23 09:53:42 +01:00
committed by GitHub
parent f1f2000db8
commit 7f8b49cb07
@@ -31,7 +31,6 @@
'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"
@@ -53,7 +52,6 @@
'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"
@@ -79,7 +77,7 @@
> >
{{ property.label | translate }} {{ property.label | translate }}
</mat-label> </mat-label>
<mat-chip-grid #chipElement class="adf-textitem-chip-list" [disabled]="isReadonlyProperty || !editable"> <mat-chip-grid #chipElement class="adf-textitem-chip-list">
<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" />
@@ -98,7 +96,6 @@
[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>