# Set value in \<ion-select\> tag

**URL:** <https://forum.ionicframework.com/t/set-value-in-ion-select-tag/98056>\
**Category:** ionic-v3\
**Created:** [July 13, 2017, 2:49pm UTC](https://forum.ionicframework.com/t/set-value-in-ion-select-tag/98056 "2017-07-13T14:49:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![modelis](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@modelis](https://forum.ionicframework.com/u/modelis)\
**Post date:** [July 13, 2017, 2:49pm UTC](https://forum.ionicframework.com/t/set-value-in-ion-select-tag/98056/1 "2017-07-13T14:49:17Z")

</div>

Hello,

i my app i use modal with search form who user can search an i display search result with radio button. When user select her result, i want to set value of this object into my tag.

Now i can pass data from my modal to ion-select tag but ion-select don’t display my information. I display my information only if i click on left icon tag.

All code

my modal search.html list

```auto
<ion-list radio-group>
    <ion-item *ngFor="let aeroport of resultAllAeroports">
      <ion-label>{{aeroport.nomAeroport}}</ion-label>
      <ion-radio (click)="select(aeroport)"></ion-radio>
    </ion-item>
 </ion-list>

```

my search select(aeroport) method

```auto
select(obj) {
    this.selectedAeroport = obj;
    this.events.publish("selectedAeroportDepart", this.selectedAeroport);
    this.viewCtrl.dismiss();
  }

```

IonSelect html file

```auto
<ion-select [(ngModel)]="aeroportDepart.codeAeroport" formControlName="codeAeroportDepart" name="codeAeroportDepart" class="annonce-ion-select">
           <ion-option checked="true" [value]="aeroportDepart.codeAeroport" >{{aeroportDepart.nomAeroport}}</ion-option> 
</ion-select>

```

I use EventsController so this is my code to get update select item in modal

```auto
events.subscribe("selectedAeroportDepart", (res) => {
   if ((res!==null) && (res!=="")) {
     this.hasSelectedAeroport = true;
     this.aeroportDepart = res;
   }
});

```

Please can you help me ?  
see picture in attachment

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/f/2/f2d0e9963bf9225483c8acbe8b973f2b7cab5d2d.png)

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/3/b/3b8809adbda0548ea356af388d287b90c8930ed5.png)

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/2/1/21195bb1dfa319f0a9502a480b50375dd65b2650.png)

Regards,
