Project

General

Profile

Actions

Bug #85668

closed

Wrong display (empty lines at bottom) for TCA treelist

Added by Florian Rival over 6 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-07-27
Due date:
% Done:

0%

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

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

Actions #1

Updated by Riccardo De Contardi 6 months ago

  • Status changed from New to Needs Feedback

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]

Actions #2

Updated by Georg Ringer 5 months ago

  • Status changed from Needs Feedback to Closed

closed as not valid anymore for latest versions

Actions

Also available in: Atom PDF