ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
127 stars 85 forks source link

Can not display images inside ion-option #411

Open ionitron-bot[bot] opened 5 years ago

ionitron-bot[bot] commented 5 years ago

Original issue by @liuzqt on 2018-04-14T15:44:47Z

I want to put image inside the select option sth. like

        <ion-item>
          <ion-label>Images</ion-label>
          <ion-select [(ngModel)]="urls" multiple="true">
            <ion-option *ngFor="let img of imgs | async">
              <ion-img width="80" height="80" src="{{img.url}}"></ion-img>
            </ion-option>
          </ion-select>
        </ion-item>

but it doesn't display anything. Do ionic support this feature? If not and what might be the best way to do this right now

MarkJAmes1217 commented 5 years ago

any updates regarding this issue

JeongJun-Lee commented 4 years ago

feature request

mj6uc commented 4 years ago

+1

MRameez820 commented 4 years ago

I have done in ionic 5 here is code of it

https://github.com/MRameez820/Ion-select-with-image