Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

focus on first invalid element #120

Open
arajay opened this issue Apr 5, 2017 · 1 comment
Open

focus on first invalid element #120

arajay opened this issue Apr 5, 2017 · 1 comment

Comments

@arajay
Copy link

arajay commented Apr 5, 2017

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.

@Jakobovski
Copy link
Owner

please create a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants