Issue Bug Rejected

#853384th parameter of $items in SelectCheckBoxElement is not localizable

Andreas Kienast 06/22/18, 10:49 updated 06/23/18, 00:37

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'
           ]
       ],
   ],
]

Reviews 1