#91808Nested IRRE with maxitems hides last inline control button / toggles inline control buttons wrong
Description
In TYPO3 Version 10.4.5 i have configured a nested inline relation:
'tx_sitepackage_stageitems' => [
'exclude' => 1,
'label' => 'LLL:EXT:sitepackage/Resources/Private/Language/locallang_db.xlf:tt_content.tx_sitepackage_stageitems',
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_sitepackage_domain_model_stageitem',
'foreign_field' => 'contentelement',
'minitems' => 1,
'maxitems' => 3,
'appearance' => [
'collapseAll' => 1
],
]
],
In tx_sitepackage_stageitems i have configured a FAL relation:
'image' => array(
'exclude' => 0,
'label' => 'LLL:EXT:sitepackage/Resources/Private/Language/locallang_db.xlf:tx_sitepackage_domain_model_stageitem.image',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image',
[
'appearance' => [
'fileUploadAllowed' => false
],
'minitems' => 1,
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
),
When an editor adds the last (third) tx_sitepackage_domain_model_stageitem, in this last one no file selector is shown for the image field.
sysext/backend/Resources/Public/JavaScript/FormEngine/Container/InlineControlContainer.js toggles all (even the nested) .t3js-inline-controls, and not only its own.
Reviews 5
Related issues 7
- Bug #78479FAL field (in flexform) with minitems=1 and maxitems=1 has no possibility to add image after deleting the previous one
- Bug #91595Not all elements displayed as button behave like buttons
- Bug #92381Button "Create new" does not re-appear for inline (IRRE) elements after reaching maxitems and removing one element
- Bug #92382levelLinksPosition=bottom is not working correctly especially with minitems=1 set and leads to misbehaviour in inline children
- Bug #93091Missing "Create new relation"-buttons after deleting the former relation
- Bug #93238Regression: After deleting image in record "add" button is not displayed again
- Bug #108850File relation inside other file relation leads to initially not rendered "Add file" button