[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

Projects

None yet

3 participants

@hbaccara

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
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 milestone: 1.x Changes, 2.1.9 Feb 19, 2016
@jlukic
Member
jlukic commented Feb 19, 2016

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

@jlukic
Member
jlukic commented Feb 29, 2016

next release will only validate the current form field.

@jlukic jlukic closed this Feb 29, 2016
@jlukic jlukic modified the milestone: 2.1.9, 2.2 May 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment