ionic onchange input code example
Example: iocic on text change function
<ion-item>
<ion-input [(ngModel)]="nickname" (keypress)="onChange($event)" ></ion-input>
</ion-item>
<ion-item>
<ion-input [(ngModel)]="nickname" (keypress)="onChange($event)" ></ion-input>
</ion-item>