# Resolved - None ngFor ion-option set default value

**URL:** <https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161>\
**Category:** ionic-v3\
**Created:** [February 11, 2018, 4:53pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161 "2018-02-11T16:53:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RachSama](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@RachSama](https://forum.ionicframework.com/u/RachSama)\
**Post date:** [February 11, 2018, 4:53pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161/1 "2018-02-11T16:53:36Z")

</div>

hi, just started ionic and was wondering how to set the default value on an ion-option. I’ve searched some questions here at the forum but what i’ve found have been ion-options using ngFors but im using a given set of options

```auto
<ion-item>
      <ion-label>Packaging</ion-label>
        <ion-select [(ngModel)]="packaging">
          <ion-option selected value="Plastic">Plastic</ion-option>
          <ion-option value="Box">Boxed</ion-option>
        </ion-select>
    </ion-item>

```

can anyone help me with this?  
using ionic version 3.19.1

---

<div class="post-metadata">

**Author:** ![leonardoss](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/leonardoss/32/114499_2.png) [@leonardoss](https://forum.ionicframework.com/u/leonardoss)\
**Post date:** [February 11, 2018, 5:53pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161/2 "2018-02-11T17:53:31Z")

</div>

You just need to initialize packaging with the value that you want to be selected:

ngOnInit () {  
this.packaging = ‘Box’;  
}

---

<div class="post-metadata">

**Author:** ![RachSama](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@RachSama](https://forum.ionicframework.com/u/RachSama)\
**Post date:** [February 11, 2018, 6:21pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161/3 "2018-02-11T18:21:12Z")

</div>

this worked wonders!!  
thanks a lot for this man

---

<div class="post-metadata">

**Author:** ![leonardoss](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/leonardoss/32/114499_2.png) [@leonardoss](https://forum.ionicframework.com/u/leonardoss)\
**Post date:** [February 11, 2018, 7:35pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161/4 "2018-02-11T19:35:28Z")

</div>

No problems dude, please mark the post as solved by my post 😜

---

<div class="post-metadata">

**Author:** ![RachSama](https://avatars.discourse-cdn.com/v4/letter/r/e9a140/32.png) [@RachSama](https://forum.ionicframework.com/u/RachSama)\
**Post date:** [February 12, 2018, 4:43pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161/5 "2018-02-12T16:43:28Z")

</div>

sorry man i just pressed solve for this now, i immediately went back to coding then slept hahaha

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:51pm UTC](https://forum.ionicframework.com/t/resolved-none-ngfor-ion-option-set-default-value/121161/6 "2021-07-19T21:51:16Z")

</div>

Closed on July 19, 2021, 9:51pm UTC


