I cannot seem to display images in ion-select. Is this supported in v4? If not, how can I do it so that I can display ion-avatar
that contains images in the ion-select-option
.
My html code:
<ion-select [(ngModel)]="this.selectedCountry" okText="Select" cancelText="Cancel" (ionChange)="getSelectedCountry(this.selectedCountry);">
<ion-select-option value="worldwide"> <ion-avatar style="height: 30px; width:30px;"> <img src="assets/icon/globe.png"></ion-avatar> Worldwide</ion-select-option>
</ion-select>