Issue Bug Closed

#91450TCA columnsOverrides don't work for label

Christian Hackl 05/20/20, 16:21 updated 04/29/21, 14:25

Description

In the example below (TCA => customExt/Configuration/TCA/Overrides/tt_content.php), the “label” field within “columnsOverrides” is ignored, while the “config” array works.
The PageTs example works well too.

$colpreviewTypes = [
    'myCustomType' => [
        'showitem' => '
            ...,
            space_after_class,
            ...,
        ',
        'columnsOverrides' => [
            'space_after_class' => [
                'label' => 'Columns header size',
                'config' => [
                    'type' => 'input',
                    'renderType' => 'colorpicker',
                    'size' => 10,
                ],
            ],
        ],
    ],
];
$GLOBALS['TCA']['tt_content']['types'] += $colpreviewTypes;
TCEFORM {
    tt_content {
        space_after_class.types {
            myCustomType.label = testing
        }
    }
}

Reviews 0

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