@jefredallan wrote:
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 theion-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>
Posts: 1
Participants: 1