i have ion-segment with 3 tabs
<ion-segment [(ngModel)]="data.recType"(ngModelChange)="stateChange($event)">
<ion-segment-button value="s">
1
</ion-segment-button>
<ion-segment-button value="m">
2
</ion-segment-button>
<ion-segment-button value="t">
3
</ion-segment-button>
</ion-segment>
the problem is all of time if i select segment with value “t” it return value “m”
any suggestion please