I want to set maxLength in the ionic input field. How can I set maxLength on ion-input?
I have created a form and take an input field, that is:
<ion-item> <ion-input type="text" class="mt-10" placeholder="Job Profile" [(ngModel)]="occupation"></ion-input> </ion-item>
Here I want to set maxLength. How can I do it?
Question and answer is powered by AnsPress.io