Actions
Bug #77527
closedForm Mail Template Radio/Checkbox without Values
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2016-08-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Example: Radio.html
<f:if condition="{model.showElement}"> <f:if condition="{model.additionalArguments.checked} == 'checked'"> <tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}"> <td style="width: 200px;"> <em>{model.additionalArguments.label}</em> </td> </tr> </f:if> </f:if>
Should be:
<f:if condition="{model.showElement}"> <f:if condition="{model.additionalArguments.checked} == 'checked'"> <tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}"> <td style="width: 200px;"> <em>{model.additionalArguments.label}</em> </td> <td><f:if condition='{model.additionalArguments.value}'><f:then>{model.additionalArguments.value}</f:then><f:else>{model.additionalArguments.name}-{model.elementCounter}</f:else></f:if></td> </tr> </f:if> </f:if>
Updated by Samuel Heinz over 7 years ago
Sry, obviously this:
{model.additionalArguments.value}
<f:if condition="{model.showElement}"> <f:if condition="{model.additionalArguments.checked} == 'checked'"> <tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}"> <td style="width: 200px;"> <em>{model.additionalArguments.label}</em> </td> <td>{model.additionalArguments.value}</td> </tr> </f:if> </f:if>
Updated by Wouter Wolters over 7 years ago
- Status changed from New to Needs Feedback
- Assignee deleted (
Gianluigi Martino)
Which exact version of TYPO3 are you using?
As fas as I can see this has been fixed already https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_7-6/typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Html/FlatElements/Radio.html
Updated by Samuel Heinz over 7 years ago
I'm using the current 7.6.10.
Thx for the link with the fixed version, so I will patch the files until the release of 7.6.11
Updated by Wouter Wolters over 7 years ago
- Status changed from Needs Feedback to Closed
Ah sorry did not check myself if this was released already. Will indeed be part of the next 7.6 release and therefor I'm closing this ticket.
Actions