Where is maxLength on ion-input?

Thanks @ishaquemujtaba, input type support text also, my need is “input type should be number with maxlength 10”

just do like this
<ion-input [(ngModel)]=“number” type=“number” (ionInput)=“getMax()”>

@ishaquemujtaba not working

I will try to solve this out.

I think the condition should be like this if(this.number.length >= 10) then it will work.