Project

General

Profile

Actions

Bug #94151

closed

TCA setting maxitems - hidden button to create a new element when current has been removed

Added by K Ch over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2021-05-18
Due date:
% Done:

0%

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

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

Actions

Also available in: Atom PDF