Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Modifies focusError method to focus on first error within form element #319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pllumh
Copy link

@pllumh pllumh commented Apr 21, 2016

When .has-error was used outside the validated form, the focusError method was trying to focus on that element (outside the form). This change focuses in the first error within the form that is currently being validated.

@nelson6e65
Copy link
Contributor

I'll try this later. 😄

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

Successfully merging this pull request may close these issues.

2 participants