When validating an after:date rule, a console.error call is made. I believe this behavior, which seems to stem from here, is not expected and hereby inquire about its removal.
firstDate does not appear to be a date.
{
firstDate: [ 'The first date is not a valid date.' ],
secondDate: [
'The second date is not a valid date.',
'The second date must be a date after first date.'
]
}
When validating an
after:date
rule, aconsole.error
call is made. I believe this behavior, which seems to stem from here, is not expected and hereby inquire about its removal.As an example, the following code
produces the following output