#98278One Image per Element / Upload buttons do not reappear after deletion
Description
With the latest update from 11.5.14 to 11.5.15, I noticed the following:
If I allow only 1 image in an element and save, the upload buttons disappear (so far good).
However, when I delete the image, the buttons do not reappear (this worked in 11.5.14).
I have to save here first and then the buttons show up again.
The problem leads to the behavior that elements which have an image as a mandatory field cannot be saved and the image cannot be replaced.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 1
History 4
-
Dennis Metz commented 09/07/22, 10:00
-
Steffen Hastädt commented and changed attached Screen Shot 2022-09-07 at 11.54.09.png 09/07/22, 10:14
We noticed the same issue.
The button does not disappear when the maximum amount of items is reached and causes a JavaScript error if you try to add more, and does not appear if you remove items and the amount of items is lower than the maximum amount of allowed items.
-
Oliver Hader changed Duplicates #98233 09/07/22, 10:43
-
Oliver Hader commented and changed status
NewClosed 09/07/22, 10:43→ address in duplicate issue #98233
Code: