<ion-select> not working


#1

Hello,

I have a problem with , when I use him(it) there is nothing, as if ionic did not recognize the tag, while I copy exactly what there is in the documentation…
And nevertheless etc. works…

I shall like showing my select as in the documentation https://ionicframework.com/docs/api/components/select/Select/ in android.

If somebody has an idea or suggestions I am interested :slight_smile:

<ion-list>
        <ion-item>
          <ion-label>Gender</ion-label>

          <ion-select ngControl="gender" multiple="true">
            <ion-option value="MALE">Male</ion-option>
            <ion-option value="FEMALE">Female</ion-option>
          </ion-select>
        </ion-item>
      </ion-list>


#2

Try this if you’re using Ionic 2
ngController was present in Ionic 1.x

 <ion-list>
    <ion-item>
      <ion-label>Gender</ion-label>
      <ion-select  [(ngModel)]="gender" name="gender" multiple="true">
        <ion-option value="MALE">Male</ion-option>
        <ion-option value="FEMALE">Female</ion-option>
      </ion-select>
    </ion-item>
  </ion-list>

#3

Hi there! So I’m not able to recreate this. Can you try to recreate a simple demo of this in a plunkr?