Bug #85668

Wrong display (empty lines at bottom) for TCA treelist

Added by Florian Rival over 2 years ago.

Status:
New
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

No data to display

Also available in: Atom PDF