Project

General

Profile

Actions

Bug #93331

closed

Rendering of selectCheckBox TCA is broken with item descriptions

Added by Julian Mair over 3 years ago. Updated almost 3 years 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Georg Ringer over 3 years ago

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

Updated by Gerrit Code Review about 3 years 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

Actions #3

Updated by Gerrit Code Review about 3 years 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

Actions #4

Updated by Gerrit Code Review about 3 years 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

Actions #5

Updated by Gerrit Code Review about 3 years 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

Actions #6

Updated by Gerrit Code Review about 3 years 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

Actions #7

Updated by Gerrit Code Review about 3 years 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

Actions #8

Updated by Oliver Bartsch about 3 years ago

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

Updated by Gerrit Code Review about 3 years 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

Actions #10

Updated by Oliver Bartsch about 3 years ago

  • Status changed from Under Review to Resolved
Actions #11

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF