I cannot get the $event of ionSelect function of ion-radio tag as a RadioButton component
here is my code:
<ion-list radio-group>
<ion-item class="item-child">
<ion-label>Manual</ion-label>
<ion-radio item-start (ionSelect)="changeMode($event)" [checked]="actuator.mode === actuatorMode.MANUAL" color="secondary"></ion-radio>
</ion-item>
<ion-item class="item-child">
<ion-label>Auto</ion-label>
<ion-radio item-start (ionSelect)="changeMode($event)" [checked]="actuator.mode === actuatorMode.AUTO" color="secondary"></ion-radio>
</ion-item>
</ion-list>
ts file:
public changeMode(event: RadioButton) {
console.log(event);
}
it logs like this rb-11-0
What is the problem ?