@RachSama wrote:
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
<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
Posts: 3
Participants: 2