Ionic4 ion-textarea maxlength attribute not working in device

Actually in ionic 4 input fields like ion-input / ion-text area maxlength attribute does not working in device but it was working in browser view. :roll_eyes: . please help to find out the issue.

Here is my code :

<ion-textarea type=“text” maxlength=“256” style=“border: 1px solid;”
(ngModelChange)=“Change($event)” [(ngModel)]=“text”>