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

Bugfix: this.validator.input[req] was changed to req, #451

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

svenhorner
Copy link

in after, after_or_equal, before, before_or_equal rules, as req
is not the key of the input, but already the value to be validated.

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[x] Bug fix
[ ] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)
this.validator.input[req] was changed to req,
in after, after_or_equal, before, before_or_equal rules, as req
is not the key of the input, but already the value to be validated.

Which issue (if any) does this pull request address?
none

Is there anything you'd like reviewers to focus on?
I guess this was overlooked when processing the pull request that added these rules as a new feature. Is this package still actively maintained?

in after, after_or_equal, before, before_or_equal rules, as req
is not the key of the input, but already the value to be validated.
…r_equal validation rules. date validity should be checked with date validation rule
…_equal rules again but letting it pass with return true now.
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

Successfully merging this pull request may close these issues.

1 participant