Bug #93331

Rendering of selectCheckBox TCA is broken with item descriptions

Added by Julian Mair 8 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2021-01-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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:

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:

i think it has to do with this:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/63889


Files


Related issues

Related to TYPO3 Core - Bug #92383: selectCheckBox with description renders multiple select groupsClosed2020-09-23

Actions
#1

Updated by Georg Ringer 8 months ago

  • Related to Bug #92383: selectCheckBox with description renders multiple select groups added
#2

Updated by Gerrit Code Review 6 months ago

  • Status changed from New 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/c/Packages/TYPO3.CMS/+/68616

#3

Updated by Gerrit Code Review 6 months ago

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

#4

Updated by Gerrit Code Review 6 months ago

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

#5

Updated by Gerrit Code Review 6 months ago

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

#6

Updated by Gerrit Code Review 6 months ago

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

#7

Updated by Gerrit Code Review 6 months ago

Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68619

#8

Updated by Oliver Bartsch 6 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#9

Updated by Gerrit Code Review 6 months ago

  • Status changed from Resolved to Under Review

Patch set 3 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68619

#10

Updated by Oliver Bartsch 6 months ago

  • Status changed from Under Review to Resolved
#11

Updated by Benni Mack 5 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF