Check out example codes for "ion input ngmodel not working ionic 6". It will help you in understanding the concepts better.

Code Example 1

<ion-input [value]="myData" (ionChange)="onChange($event,data)">
...
onChange(event:any,value:any){
	console.log(event.detail.data)
}

Learn ReactJs, React Native from akashmittal.com