добавить представление Ссылка с (#) для этого В вашем html,
<ion-input [(ngModel)]="username" name="username" type="text" #username="ngModel" spellcheck="false" autocapitalize="off" autofocus clearInput required #focusInput></ion-input>
В вашем component.ts Импортируйте ViewChild и установите фокус этого (#focusInput) ввода
Like
import {Component, ViewChild} from '@angular/core';
@ViewChild('focusInput') myInput;
ionViewDidEnter() {
this.myInput.setFocus();
}
Это поможет.