Project

General

Profile

Actions

Bug #93595

closed

TCA inline element: appearance config partially not working

Added by Chris no-lastname-given over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-02-26
Due date:
% Done:

0%

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

Description

Updating from TYPO3 v10.4.8 to v10.4.9 the TCA config['appearance']['enabledControls']['new'] = false for inline elements is not respected anymore. I still get the button Create new for new child-record.

This is my TCA config:

'myField' => [
'exclude' => true,
'label' => 'News',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_news_domain_model_news',
'foreign_field' => 'author',
'disableMovingChildrenWithParent' => true,
'enableCascadingDelete' => false,
'appearance' => [
'useSortable' => false,
'enabledControls' => [
'info' => false,
'new' => false,
'dragdrop' => false,
'sort' => false,
'hide' => false,
'delete' => false,
'localize' => false,
],
],
]
],

See attached screenshots.


Files

v10.4.8.png (175 KB) v10.4.8.png TYPO3 10.4.8 Chris no-lastname-given, 2021-02-26 16:26
v10.4.9.png (84.8 KB) v10.4.9.png TYPO3 10.4.9 Chris no-lastname-given, 2021-02-26 16:26
new-control.png (3.95 KB) new-control.png Oliver Bartsch, 2021-03-23 19:51

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #82489: No newRecordLink if config.appearance.enabledControls.new = falseClosed2017-09-15

Actions
Actions

Also available in: Atom PDF