Skip to content

bug: [@ionic/angular@5.3.2 bug] always focus at first ion-input inside ion-item w/ multiple inputs #22037

@pipoa

Description

@pipoa

Current behavior:

I have switch 5.3.1 , 5.3.2 tested, It only happens in 5.3.2
If there are multiple ion-inputs inside ion-item, you have no idea to input data on ion-inputs except 1st one ex:
It always auto focus on 1st ion-input!

Bug Report

Ionic 5

<ion-item>
    <ion-input></ion-input>  <!-- 1st, focus always goes here -->
    <ion-input></ion-input>  <!-- 2nd, click here jump to 1st -->
    <ion-input></ion-input>  <!-- 3rd, click here jump to 1st-->
    <ion-input></ion-input>  <!-- ... , click here jump to 1st-->
    <ion-input></ion-input>  <!-- ... , click here jump to 1st-->
</ion-item>

Expected behavior:

should correctly focus each ion-input individually
Steps to reproduce:

create templat like above provided codes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions