Actions
Bug #92383
closedselectCheckBox with description renders multiple select groups
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2020-09-23
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
rendering of "select_checkbox_3 icons, description" (select_checkbox_3
) from EXT: styleguide is broken.
// https://github.com/TYPO3/styleguide/blob/master/Configuration/TCA/tx_styleguide_elements_select.php#L350 'select_checkbox_3' => [ 'exclude' => 1, 'label' => 'select_checkbox_3 icons, description', 'config' => [ 'type' => 'select', 'renderType' => 'selectCheckBox', 'items' => [ ['foo 1', 1, '', 'optional description'], ['foo 2', 2, 'EXT:styleguide/Resources/Public/Icons/tx_styleguide.svg', 'LLL:EXT:styleguide/Resources/Private/Language/locallang.xlf:translatedHelpTextForSelectCheckBox3'], ['foo 3', 3, 'EXT:styleguide/Resources/Public/Icons/tx_styleguide.svg'], ['foo 4', 4], ], ], ],
Expected output¶
- Select group (no title, not collapsed)
- "foo 1" ? icon ('optional description')
- "foo 2" ? icon ('A localized help text')
- "foo 3"
- "foo 4"
As in https://docs.typo3.org/m/typo3/reference-tca/10.4/en-us/ColumnsConfig/Type/selectCheckBox.html#example select_checkbox_3
should render one 'group' containing 4 elements ("foo 1" to "foo 4").
Current output¶
- Select group (no title)
- "foo 3" ? icon ('none')
- "foo 4" ? icon ('none')
- Select group/panel 'optional description'
- "foo 1" ? icon ('optional description')
- Select group/panel 'LLL:EXT:styleguide/Resources/Private/Language/locallang.xlf:translatedHelpTextForSelectCheckBox3'
- "foo 2" ? icon ('LLL:EXT:styleguide/Resources/Private/Language/locallang.xlf:translatedHelpTextForSelectCheckBox3')
Actions