mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
* [AAE-3638] - implement priority drodpown widget * refactor task cloud service function * fix remove value on card view text item and move priorities values in app.config.json * revert app config unnecary changes * PR changes * fix unit test * fix more unit tests * PR changes * create task cloud response model * remove commented code * fix e2e * fix start task e2e and add return type
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<ng-container *ngIf="!property.isEmpty() || isEditable()">
|
|
<div [attr.data-automation-id]="'card-select-label-' + property.key"
|
|
class="adf-property-label">{{ property.label | translate }}</div>
|
|
<div class="adf-property-field">
|
|
<div *ngIf="!isEditable()"
|
|
class="adf-select-item-padding adf-property-value"
|
|
data-automation-class="read-only-value">{{ (property.displayValue | async) | translate }}</div>
|
|
<div *ngIf="isEditable()">
|
|
<mat-form-field class="adf-select-item-padding-editable adf-property-value">
|
|
<mat-select [(value)]="value"
|
|
panelClass="adf-select-filter"
|
|
(selectionChange)="onChange($event)"
|
|
data-automation-class="select-box">
|
|
|
|
<adf-select-filter-input *ngIf="showInputFilter" (change)="onFilterInputChange($event)"></adf-select-filter-input>
|
|
|
|
<mat-option *ngIf="showNoneOption()">{{ 'CORE.CARDVIEW.NONE' | translate }}</mat-option>
|
|
<mat-option *ngFor="let option of getList() | async"
|
|
[value]="option.key">
|
|
{{ option.label | translate }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|