I have 2 inputs in a view and 4 in another view
it works well on the browser , but there’s a serious bug on my device
when selecting any input - it always select the last input
for-example
I have 4 inputs here (Name,Email,Phone,Password)
when selecting (Name , Email or Phone input) - it always focus on the last input (Password)
my codes :-
<ion-content>
<ion-list inset>
<ion-item *ngIf="newAccount">
<ion-input type="text" placeholder="Name"></ion-input>
</ion-item>
<ion-item>
<ion-input type="text" placeholder="Mobile"></ion-input>
</ion-item>
<ion-item *ngIf="newAccount">
<ion-input type="email" placeholder="Email"></ion-input>
</ion-item>
<ion-item>
<ion-input type="password" placeholder="Password"></ion-input>
</ion-item>
</ion-list>
<button ion-button icon-left color="dark" clear *ngIf="!newAccount"> <ion-icon name="alert"></ion-icon>
Forgot my password</button>
<button (click)="login()" ion-button block color="light">{{stats[1 - current]}}</button>
</ion-content>