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

Scroll to/focus on the submitted form #385

Merged
merged 1 commit into from
Jul 29, 2016
Merged

Conversation

chrislawes
Copy link
Contributor

For when a single page has multiple forms.

Currently, validating any form will scroll to/focus on the first error on the page, not the first error in the submitted form - this fix will limit the scroll/focus to the form that's being submitted.

Uses the global this.$element var.

@1000hz 1000hz merged commit 03440b9 into 1000hz:master Jul 29, 2016
@1000hz
Copy link
Owner

1000hz commented Jul 29, 2016

Thanks!

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