Project

General

Profile

Actions

Bug #77986

closed

Checked option not working in f:form.checkbox

Added by Laurent Foulloy over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2016-09-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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" >
<f:form.checkbox name="myCheckbox" value="1" checked="checked" />
</f:form>

Same occurs with

<f:form action="test" name="myForm" >
<f:form.checkbox name="myCheckbox" value="1" checked="1 == 1" />
</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.

Actions

Also available in: Atom PDF