Project

General

Profile

Actions

Bug #92383

closed

selectCheckBox with description renders multiple select groups

Added by Georg Tiefenbrunn about 4 years ago. Updated over 3 years 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 2 (0 open2 closed)

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
Actions #1

Updated by Georg Ringer about 4 years ago

  • Status changed from New to Accepted
Actions #2

Updated by Georg Ringer about 4 years ago

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

Updated by Georg Ringer almost 4 years ago

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

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

Actions #5

Updated by Gerrit Code Review over 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 #6

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

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

Updated by Gerrit Code Review over 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 #9

Updated by Gerrit Code Review over 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 #10

Updated by Oliver Bartsch over 3 years ago

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

Updated by Gerrit Code Review over 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 #12

Updated by Oliver Bartsch over 3 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF