Skip to content

focus on first invalid element #120

@arajay

Description

@arajay

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.

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