Input: Add placeholder class in static placeholder in select
This commit is contained in:
parent
721a8c6a09
commit
f08c63d384
|
@ -70,7 +70,7 @@ declare var UIkit;
|
||||||
<ng-template [ngIf]="type === 'select'">
|
<ng-template [ngIf]="type === 'select'">
|
||||||
<ng-container *ngIf="placeholderInfo?.static">
|
<ng-container *ngIf="placeholderInfo?.static">
|
||||||
<div *ngIf="!getLabel(formControl.value)"
|
<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)"
|
<div *ngIf="getLabel(formControl.value)"
|
||||||
class="input uk-width-expand uk-text-truncate">{{getLabel(formControl.value)}}</div>
|
class="input uk-width-expand uk-text-truncate">{{getLabel(formControl.value)}}</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
Loading…
Reference in New Issue