Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70765

Cannot display image in ion-select

$
0
0

@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 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>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70765

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>