Bug #94151
closedTCA setting maxitems - hidden button to create a new element when current has been removed
0%
Description
Tested on TYPO3 v10.4.12
For example:
'image' => [
'config' => [
'maxitems' => 1
]
]
How to reproduce issue:
1. Create a content element (for example TextPic) and add an optional image from the file list.
2. Save content, the page should be reloaded.
3. Remove added image, a button for adding a new element (in this case image) won't appear until you save a current state.
The issue can be reproduced with any TCA field that can be optional.
Files
Updated by K Ch over 3 years ago
Tested on TYPO3 v10.4.12.
For example:
'image' => [
'config' => [
'maxitems' => 1
]
]
How to reproduce issue:
1. Create a content element (for example TextPic) and add an optional image from the file list.
2. Save content, the page should be reloaded.
3. Remove added image, a button for adding a new element (in this case image) won't appear until you save a current state.
Note: if minitems option is set to 1 then it's not possible to add an element or even save content.
The issue can be reproduced with any TCA field that can be optional.
Updated by Andreas Kienast over 3 years ago
- Status changed from New to Needs Feedback
Hello,
can you please check this with the most recent version 10.4.16? This issue should be solved already.
Kind regards
Andreas
Updated by K Ch over 3 years ago
Andreas Fernandez wrote in #note-2:
Hello,
can you please check this with the most recent version 10.4.16? This issue should be solved already.
Kind regards
Andreas
Hi Andreas,
with the newest version of Typo3 it seems to work fine :) Thank you for the answer.
Kind regards
Kacper
Updated by Riccardo De Contardi over 3 years ago
@K Ch
thank you for your answer; May this issue be closed or is there something missing?
Updated by K Ch over 3 years ago
Riccardo De Contardi wrote in #note-4:
@K Ch
thank you for your answer; May this issue be closed or is there something missing?
Hi Riccardo,
of course, this issue can be closed :)
Regards
Kacper
Updated by Riccardo De Contardi over 3 years ago
- Status changed from Needs Feedback to Closed
Closed in agreement with the reporter.