I am using Ionic 3 and Angular 5. I have a text-area with Auto focus. problem is, I do not want to show keyboard in auto focus. How can I hide keyboard in Auto focus. Here is my code.
setTimeout(() => {
this.myInput.setFocus();
},1000);
This code is for Auto focus.
<ion-textarea style="color:red; opacity: 0;" #input id="myInput" rows="1" maxLength="500" [(ngModel)]="details" (ionChange)="Scan($event)" ></ion-textarea>
This is HTML code please help me out. Thanks