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
123 incorrectly accepted as valid date #1787
Comments
Does the issue also happen on the lastest 1.15 release? |
That's not a bug, as the If you take a look at
|
I guess we should mark it as deprecated in the sources |
Yeah, and should be removed in |
If this is not recommended, could it be turned off by default? I know you wish to remove eventually, though it seems a bit odd to have it on by default. For those who want to turn it off, in a
|
I'm afraid disabling the date validator by default is not an option right now, as there are developers that replace it with their own validator, and we can't afford to disable their own code without prior notice. I think for now, we only need to print a warning whenever this method is used. |
I think a developer who upgrades a package to a new version without reading a changelog is the one at fault. I don't think you should worry about that, though of course it is up to you! Many thanks for |
Our pleasure :) |
👍 |
This issue/proposal has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and one of the maintainers will (try!) to follow up. |
I just ran into this. There's a nasty interaction with
then the plugin generates this rule:
which always fails to validate. The workaround I found was to specify this rule instead:
Without explicitly setting those parameters to false, the plugin fills them in with NaN by default and I hope this workaround helps someone else, or maybe can be integrated into the codebase. |
Subject of the issue
if validate date and enter 123 it says its a valid date
Your environment
v1.11.0
Steps to reproduce
http://jsfiddle.net/Ls3kqfu6/
this is for abc which is incorrect
if enter 123 it will be correct
Expected behaviour
should not accept 123 as date
Actual behaviour
accepts 123 as date
The text was updated successfully, but these errors were encountered: