Issue Bug Closed

#93595TCA inline element: appearance config partially not working

Chris no-lastname-given 02/26/21, 16:30 updated 03/30/21, 09:11

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.

Reviews 1