Actions
Bug #93479
closedTCA inline file with maxitems to 1, can't add after delete
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-02-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have an inline field to add images and the maxitems & minitems property is set to 1
'image' => [ 'config' => ExtensionManagementUtility::getFileFieldTCAConfig( 'image', [ 'appearance' => [ ... ], 'default' => 0, 'maxitems' => 1, 'minitems' => 1, 'overrideChildTca' => [...] ] ], $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] ), 'exclude' => true, 'label' => 'myLabel' ],
If I delete it I do not have the option to add a new image and since the minitems property is set to 1 the element can not be saved.
If I remove the minitems property I can save it and after that the button for adding new image is there.
Updated by Andreas Kienast over 3 years ago
- Is duplicate of Bug #93091: Missing "Create new relation"-buttons after deleting the former relation added
Updated by Andreas Kienast over 3 years ago
- Status changed from New to Closed
Hello,
thank you for your report. This issue is already known with #93091 and has been fixed meanwhile. Thus, I'll close this ticket as a duplicate.
Kind regards
Andreas
Actions