Issue Bug Closed

#85668Wrong display (empty lines at bottom) for TCA treelist

Florian Rival 07/27/18, 12:16 updated 07/08/24, 17:39

Description

If you use a tree list for a select in a TCA, and didn’t set ‘showHeader’ => TRUE in treeconfig, there is a bad rendering, i.e. empty lines at the bottom of the element.

Sample config with bug :

        'expertise' => [
            'exclude' => 1,
            'config' => [
                'type' => 'select',
                 ...
                'renderMode' => 'tree',
                'treeConfig' => [
                    'parentField' => 'parent',
                    'appearance' => [
                        'showHeader' => FALSE
                    ],
                ],
            ],
        ],
Sample config without bug :

        'expertise' => [
            'exclude' => 1,
            'config' => [
                'type' => 'select',
                 ...
                'renderMode' => 'tree',
                'treeConfig' => [
                    'parentField' => 'parent',
                    'appearance' => [
                        'showHeader' => TRUE
                    ],
                ],
            ],
        ],

Florian

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 2

  1. Riccardo De Contardi commented and changed status New Needs Feedback 05/26/24, 16:30

    Is this one still true?

    TYPO3 13.2.0-dev – I am looking at the StyleGuide example “Form engine elements – select” > tab “renderType=selectTree” > select_tree_2 pages, showHeader=false, nonSelectableLevels=0,1, maxitems=4, size=10 [select_tree_2]

  2. Georg Ringer commented and changed status Needs Feedback Closed 07/08/24, 17:39

    closed as not valid anymore for latest versions