Hello ! Can someone help me to not select the other fields of the ion option
Html
<ion-select [(ngModel)]="estado" placeholder="Estado del pedido">
<ion-option *ngFor="let item of this.Pe.estado" [value]="item.id">{{item.estado}}</ion-option>
</ion-select>
I think the problem is that all options boxe are bind to the same ngmodel
So when estado change all bind option boxes change too.
You need to bind every line to her own variable…
No, the code posted here is fine. The problem is elsewhere.
Yes. I think the posted code is used in an other ngFor.