Skip to content

focus on first invalid element #120

Open
@arajay

Description

This was first raised in #22 but was closed without being addressed.

it looks like the default functionality attempts to scroll the user to the closest .labelvalidationMessage; it does not add focus to the actual input.

if those labels are hidden or are styled using absolute positioning (to fake tooltips) then the browser can't jump to the label.

Please update to actually add focus to the closest or first input with .has-error.

Activity

Jakobovski

Jakobovski commented on Apr 6, 2017

@Jakobovski
Owner

please create a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      focus on first invalid element · Issue #120 · Jakobovski/angular-validator