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

[Form validation] - Form validation doesn't work correctly with the "on" setting set to "blur" #3606

Closed
hbaccara opened this issue Jan 24, 2016 · 3 comments

Comments

@hbaccara
Copy link

Steps to Reproduce

  1. put the focus on one required field
  2. then move the focus to another required field
  3. the firstly focused field indicates an error at this step as it is required
  4. now move back to the firstly focused field (the one already higlighting an error)
  5. the secondly focused field indicates an error at this step as it is required
  6. now move back to the secondly focused field

Expected
Nothing special should happen after step 6

Result
All the required form inputs indicate an error even those that were not focused at all.

Testcase
http://jsfiddle.net/hbaccara/w6h42611/1/

@beholdr
Copy link

beholdr commented Jan 28, 2016

Yep, very annoying behavior. On blur validation is most convenient for users, but with this bug I'm forced to use 'on submit' validation.

@jlukic jlukic modified the milestones: 1.x Changes, 2.1.9 Feb 19, 2016
@jlukic
Copy link
Member

jlukic commented Feb 19, 2016

Something seems pretty broken here.. not sure how this is happening.

@jlukic
Copy link
Member

jlukic commented Feb 29, 2016

next release will only validate the current form field.

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

No branches or pull requests

3 participants