-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Outdated phpjs implementation #444
Comments
Thanks @Nuranto At a glance, I think because we're using such an old version of The only issue is that there's quite a few uses of I'll take a PR which upgrades |
Check the linked PR @Nuranto |
@spyrmpontinis that issue sounds different to what's described in this issue? You're comparing against another field. This issue is regarding an outdated strtotime implementation so certain date keywords don't work correctly. If that's not working, please try to debug and open a new issue. |
@Nuranto if I merge to master do you mind checking it? |
@bytestream thats not how git branches should work... fwiw i just encountered this issue. I'm using the Laravel validation Error message:
|
This sounds more related to #424 (comment) than this issue... Please open a new issue with a full test case to replicate. This issue is specifically an outdated phpjs implementation. Anything else pertaining to after_/before_ rules should be opened in another issue with minimal test cases. |
Hello , i did not fix it in frontend. I am doing the validation on save controller because the problem is on jquery.validate.js as you can see in the print screen on js debugger of firefox. The problem is that jsvalidation.js in line 94 in rule "after" or "after_or_equals" in your case the element param[1] is array as you can see on my print screen. So the jquery.vaidate.js on is trying to use replace function on array which is not exists. I hope i was helpfull . I wish you happy new year :) |
Please open a new issue if you can replicate on the latest version. #530 was very similar to what you describe |
after_or_equal / before_or_equal does not work with
today
keyword (before_or_equal:today
). Probably with other keywords as well.Error is :
Probably the problem occurs on Before/After too ?
The text was updated successfully, but these errors were encountered: