Project

General

Profile

Actions

Bug #85338

closed

4th parameter of $items in SelectCheckBoxElement is not localizable

Added by Andreas Kienast over 6 years ago. Updated over 6 years ago.

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 #1

Updated by Gerrit Code Review over 6 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57290

Actions #2

Updated by Andreas Kienast over 6 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Susanne Moog over 6 years ago

  • Status changed from Under Review to Rejected

Closed as duplicate of #78984

Actions

Also available in: Atom PDF