Skip to content

Date constraint throws an ErrorException #2609

@ondrowan

Description

@ondrowan

Date / Birthday constraint works properly only if I write incorrect number to any of the fields. When I edit some of the values to string I keep getting error 500 (ErrorException) because checkdate expects parameters to be integers. Although this happens only if someone manually overrides values in select, I still think it should be consistent with other validators and simply return error message saying the format is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions