mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Remove excess disabled attribute (#11680)
This commit is contained in:
+1
-4
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user