mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
14 lines
618 B
HTML
14 lines
618 B
HTML
<div class="adf-property-label">{{ property.label | translate }}</div>
|
|
<div class="adf-property-value">
|
|
<div *ngIf="!isEditable()" data-automation-class="read-only-value">{{ property.displayValue | async }}</div>
|
|
<div *ngIf="isEditable()">
|
|
<mat-form-field>
|
|
<mat-select [(value)]="value" (change)="onChange($event)" data-automation-class="select-box">
|
|
<mat-option *ngFor="let option of getOptions() | async" [value]="option.key">
|
|
{{ option.label | translate }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|
|
</div>
|