Skip to content

Tabindex is getting set on both ion-input and the native input #7178

Closed

Description

@nickwinger

Hi,

i have 2 problems with ion-input.
First the tabindex gets not only set on the wrapped input but also on the ion-input.
These 2 (redundant) tabindex's break form navigation in browsers.

second the angular form validation classes are not set on the wrapped input field, therefore
form validation is not working at all

Activity

  1. jgw96 commented on Jul 3, 2016

    @jgw96
    Contributor

    Hello, thanks for opening an issue with us! Would you be able to provide a plunker that demonstrates this issue? Thanks for using Ionic!

  2. added
    needs: reply
    on Jul 3, 2016
  3. jgw96 commented on Jul 7, 2016

    @jgw96
    Contributor

    Hello! As it seems it has been a while since there was any activity on this issue i will be closing it for now. Feel free to comment if you are still running into this issue. Thanks for using Ionic!

  4. nickwinger commented on Jul 8, 2016

    @nickwinger
    Author

    just because i don't provide a plunkr in time, does not mean you have a bug here

  5. nickwinger commented on Jul 8, 2016

    @nickwinger
    Author

    as you can see in this plunkr:
    http://plnkr.co/edit/KwRq17cclcrGIM3EMd8y?p=preview

    the tabindex gets set on the ion-input tag AND on the input, it should only be on the input.
    This is important for ProgesiveWebApp with tab/keyboard support

  6. reopened this on Jul 8, 2016
  7. removed
    needs: reply
    on Jul 8, 2016
  8. penrillian-chrisa commented on Sep 21, 2016

    @penrillian-chrisa

    +1

  9. brandyscarney commented on Jan 24, 2017

    @brandyscarney
    Member

    I confirmed the tabindex is an issue still. However, the form classes should be getting set correctly on ion-item, ion-input and input.

  10. changed the title [-]v2 - Ion-input problems[/-] [+]Tabindex is getting set on both ion-input and the native input[/+] on Jan 24, 2017
  11. added 2 commits that reference this issue on Jun 12, 2017
    574ee31
    c10f72b
  12. added 2 commits that reference this issue on Jun 14, 2017
    776afbd
    7a1342c
  13. ionitron-bot commented on Sep 2, 2018

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  14. locked and limited conversation to collaborators on Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions