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

Support stackErrors option per element / per guard #28

Open
betesh opened this issue Oct 10, 2016 · 0 comments
Open

Support stackErrors option per element / per guard #28

betesh opened this issue Oct 10, 2016 · 0 comments

Comments

@betesh
Copy link

betesh commented Oct 10, 2016

For example:

<input ... data-guard="required password long-password has-at-least-one-number"
    data-guard-stack-errors="password long-password" >

If required fails, it shouldn't display the other error messages, but if required passes and password, long-password and has-at-least-one-number all fail, it should display error messages for password and long-password but not for has-at-least-one-number.

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

No branches or pull requests

1 participant