Issue Bug Closed

#77986Checked option not working in f:form.checkbox

Laurent Foulloy 09/18/16, 19:34 updated 10/02/18, 11:07

Description

Since TYPO3 8.3, it seems that the checked option in form checkboxes is not working.

The following code produces a checkbox which is not checked

<f:form action="test" name="myForm"><br> <f:form name="myCheckbox" value="1" checked="checked"></f:form><br></f:form>

Same occurs with

<f:form action="test" name="myForm"><br> <f:form name="myCheckbox" value="1" checked="1 == 1"></f:form><br></f:form>

It seems that the $checked variable coming from the registered argument is not evaluated as it was the case when the variable was provided as a parameter of the render() function.

Reviews 1