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

Also available in: Atom PDF