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

Option 'onlyOnce' should validate only once, even when set to false #3

Open
ravage84 opened this issue Oct 10, 2013 · 1 comment
Open
Assignees
Milestone

Comments

@ravage84
Copy link
Owner

Currently when the option "onlyOnce" is set to false, the behavior adds the validation rule to each field of a group.
This leads to multiple calls of multColumnUniqueness, which means the same data base query is done multiple times.
Optimally this should be prevented by validating once but setting the error message to each unique field in the valiation error array.

@ghost ghost assigned ravage84 Oct 10, 2013
@dereuromark
Copy link

I agree. No need to invoke the validation x times, only display x times then :)

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

2 participants