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
There's no way AFAIK to bypass this aside by overriding the whole _inputLabel() method. Ideally, this should be configurable or obtained from the widget.
The text was updated successfully, but these errors were encountered:
This is a (multiple allowed):
bug
enhancement
feature-discussion (RFC)
CakePHP Version: 3.5.12
Platform and Target: N/A
What you did
Croogo has a DateTimeWidget that renders a text input for integration with datetimepicker.
What happened
The widget is rendered with its
<label>
element missing thefor
attribute. Eg:What you expected to happen
The
<label>
should contain the appropriatefor
attribute`, eg:The reason is https://github.com/cakephp/cakephp/blob/master/src/View/Helper/FormHelper.php#L1505 assumes that a
datetime
is in$groupTypes
causing forceful set offor
tofalse
.There's no way AFAIK to bypass this aside by overriding the whole
_inputLabel()
method. Ideally, this should be configurable or obtained from the widget.The text was updated successfully, but these errors were encountered: