-
Notifications
You must be signed in to change notification settings - Fork 29
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
Only evaluating the first rule? #36
Comments
Yes. It is a problem when adding multiple rules using the string definition Adding single rules as strings works Will fix as soon as I have some time. |
Any eta on a fix? The example in docs does not seem to work either? |
@mscreenie I'm extremely busy at the moment but I would approve at a pull-request :) |
Hello, I just opened a PR which fixes this Issue |
Hi,
Either I'm missing something completely obvious or might there be bug in the version 2.1.
It seems that, when passing an array to the
add
method, it only adds or evaluates the first rule.If you run this code, it returns
true
even though thecontent
is not included in the$input
array. But the funny thing is, even if I change the$input
to:This still returns true, even though content is less than 5 chars.
What am I missing?
thanks,
The text was updated successfully, but these errors were encountered: