You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
…d' option (galeaspablo)
This PR was squashed before being merged into the 3.2 branch (closes#20877).
Discussion
----------
DateIntervalType: 'invert' should not inherit the 'required' option
| Q | A
| ------------- | ---
| Branch? | 3.2
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #20876
| License | MIT
| Doc PR | -
As explained in #20876,
> 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.
Commits
-------
b1597f1 DateIntervalType: 'invert' should not inherit the 'required' option
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.
The text was updated successfully, but these errors were encountered: