Bug #92383

selectCheckBox with description renders multiple select groups

Added by Georg Tiefenbrunn about 1 year ago. Updated 7 months ago.

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')

Related issues

Related to TYPO3 Core - Feature #91008: Add grouping and sorting for TCA select itemsClosedBenni Mack2020-04-12

Actions
Related to TYPO3 Core - Bug #93331: Rendering of selectCheckBox TCA is broken with item descriptionsClosed2021-01-20

Actions
#1

Updated by Georg Ringer about 1 year ago

  • Status changed from New to Accepted
#2

Updated by Georg Ringer about 1 year ago

  • Related to Feature #91008: Add grouping and sorting for TCA select items added
#3

Updated by Georg Ringer 10 months ago

  • Related to Bug #93331: Rendering of selectCheckBox TCA is broken with item descriptions added
#4

Updated by Gerrit Code Review 8 months ago

  • Status changed from Accepted 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

#5

Updated by Gerrit Code Review 8 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

#6

Updated by Gerrit Code Review 8 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

#7

Updated by Gerrit Code Review 8 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

#8

Updated by Gerrit Code Review 8 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

#9

Updated by Gerrit Code Review 8 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

#10

Updated by Oliver Bartsch 8 months ago

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

Updated by Gerrit Code Review 8 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

#12

Updated by Oliver Bartsch 8 months ago

  • Status changed from Under Review to Resolved
#13

Updated by Benni Mack 7 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF