mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-5316] - added content type editing for nodes * [ADF-5316] - added content type editing for nodes * [ADF-5316] - fix unit test #1 * [ADF-5316] - fix unit test #2 * [ADF-5316] - fix unit test - final * Removed failing lint word * [ADF-5316] - added alfresco api real calls * Build fixed * [ADF-5316] - fixed second loop trigger on model * [ADF-5316] - fixed unit tests * [ADF-5316] - removed unused stream * [ADF-5316] - fixed package.json * [ADF-5316] - added missing unit tests * [ADF-5316] - fixed wrong import Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
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 list$ | async"
|
|
[value]="option.key">
|
|
{{ option.label | translate }}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</div>
|
|
</div>
|
|
</ng-container>
|