Actions
Bug #85338
closed4th parameter of $items in SelectCheckBoxElement is not localizable
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-06-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint
Description
When using the renderType selectCheckBox
, it's not possible to use localizable strings for help texts in the items array, as the LLL reference is not resolved.
Example:
'tca_select_checkbox_field' => [ 'label' => 'LLL:EXT:demo/Resources/Private/Language/locallang.xlf:demo.label', 'config' => [ 'type' => 'select', 'renderType' => 'selectCheckBox', 'items' => [ [ 'LLL:EXT:demo/Resources/Private/Language/locallang.xlf:demo.valueOne', 'value_one', 'icon-one', 'LLL:EXT:demo/Resources/Private/Language/locallang.xlf:demo.valueOne' ], [ 'LLL:EXT:demo/Resources/Private/Language/locallang.xlf:demo.valueTwo', 'value_two', 'icon-two', 'LLL:EXT:demo/Resources/Private/Language/locallang.xlf:demo.valueTwo' ] ], ], ]
Actions