#93331Rendering of selectCheckBox TCA is broken with item descriptions
Description
I want to add a description to the corresponding items of the selectCheckBox input type. If i proceed like in the doku ref. (see here: https://docs.typo3.org/m/typo3/reference-tca/10.4/en-us/ColumnsConfig/Type/selectCheckBox.html#items ), then the output is somehow grouped.
Here my minimal reproduction snippet (add it somewhere in a tca php file):
'column' => [
'exclude' => true,
'label' => 'test title',
'description' => 'test descr',
'config' => [
'type' => 'select',
'renderType' => 'selectCheckBox',
'items' => [
[
'item title 1',
'1',
'',
'item desc 1',
],
[
'item title 2',
'2',
'',
'item desc 2',
],
],
],
],
Preview:
clipboard-202101201543-spcki.png
if i insert a null on the 4th position, then the grouping bug is fixed, but no description is shown.
[
'item title 1',
'1',
'',
null,
'item desc 1',
],
Preview:
clipboard-202101201541-4evhk.png
i think it has to do with this:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/63889