Input: Add placeholder class in static placeholder in select

This commit is contained in:
Konstantinos Triantafyllou 2022-07-04 21:43:50 +03:00
parent 721a8c6a09
commit f08c63d384
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ declare var UIkit;
<ng-template [ngIf]="type === 'select'">
<ng-container *ngIf="placeholderInfo?.static">
<div *ngIf="!getLabel(formControl.value)"
class="input uk-width-expand uk-text-truncate">{{placeholderInfo.label}}</div>
class="input placeholder uk-width-expand uk-text-truncate">{{placeholderInfo.label}}</div>
<div *ngIf="getLabel(formControl.value)"
class="input uk-width-expand uk-text-truncate">{{getLabel(formControl.value)}}</div>
</ng-container>