Skip to content

Conversation

@mrvipchien
Copy link
Contributor

The Date Validation returns a string date|date_format:Y-m-d so that when a Form Request using it such as:

return [
    'from' => ['required', Rule::date()->after('today')]
]

we'll get the error: Method Illuminate\Validation\Validator::validateDate|dateFormat does not exist

@mrvipchien mrvipchien closed this Jan 25, 2025
@mrvipchien mrvipchien reopened this Jan 25, 2025
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.

2 participants