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] Data-validate just takes first field into account #5469

Closed
xDaizu opened this issue Jun 16, 2017 · 2 comments
Closed

[Form validation] Data-validate just takes first field into account #5469

xDaizu opened this issue Jun 16, 2017 · 2 comments

Comments

@xDaizu
Copy link

xDaizu commented Jun 16, 2017

Check this JsFiddle:

http://jsfiddle.net/4mpb7cfx/183/

if you submit, both "Can't be empty" fields get marked as error. If you correct only the first one, both stop throwing error and it returns true. If you correct only the second one, none of them is unmarked as error.

If you write something in the first field and then submit, it ignores the second "notempty" field.

Checked in Firefox Developer 54.0b14 and Chrome 58.0.3029.110

@awgv awgv added the Duplicate label Jun 16, 2017
@awgv
Copy link
Member

awgv commented Jun 16, 2017

Hi @xDaizu, thank you, but we’re already tracking it here: #829. The thread is very old, and I posted your test case there.

@lubber-de

This comment was marked as spam.

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