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
if ($ʟ_label = $form["checkbox_field"]->getLabel()) {
echo$ʟ_label->startTag();
}
echo$form["checkbox_field"]->getControl();
if ($ʟ_label) {
echo$ʟ_label->endTag();
}
If we add stub for Checkbox:getLabel which will return null, condition will be always false, maybe we should change the condition to "instanceof Html"?
The text was updated successfully, but these errors were encountered:
Checkbox::getLabel() returns null, so it is weird we can do:
{label checkbox_field}{input checkbox_field}{/label}
it is compiled to:
If we add stub for Checkbox:getLabel which will return null, condition will be always false, maybe we should change the condition to "instanceof Html"?
The text was updated successfully, but these errors were encountered: