[ADF-3298] Select CardView item label removed (#3555)

* placeholder removed

* test added
This commit is contained in:
Alex Bolboșenco
2018-07-03 22:04:11 +03:00
committed by Eugenio Romano
parent ef866fdbdb
commit 1bba43af8c
3 changed files with 11 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
<div *ngIf="!isEditable()" data-automation-class="read-only-value">{{ property.displayValue | async }}</div>
<div *ngIf="isEditable()">
<mat-form-field>
<mat-select placeholder="{{ property.label | translate }}" [(value)]="value" (change)="onChange($event)" data-automation-class="select-box">
<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>