Skip to content

3.2 - DateIntervalType - 'invert' should not inherit the 'required' option" #20876

Closed
@galeaspablo

Description

@galeaspablo

In the DateIntervalType, there is a field, called 'invert', that allows for negative intervals.
This is outputted as a checkbox. Which is fine, but it shouldn't be required.

To reproduce?
Use the new DateIntervalType in Symfony 3.2
Set required=true, the field 'invert' will inherit the required option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions