Issue Bug Closed

#105918Image Fields not working correctly with restrictions in IRRE fields

Manuel Winkelhofer 01/13/25, 12:53 updated 01/14/25, 14:09

Description

When i have Images in IRRE fields and the images have restrictions like max and minitems, the Javascript for the Upload Buttons is missing sometimes.

it should be a Core Bug, i think, but its easiest to reproduce with Content Blocks and the following Code:

name: contentelements/service-slider
group: Seitenelemente
basics: 
  - TYPO3/Appearance
prefixFields: true
prefixType: vendor
fields:
  - identifier: slideritems
    type: Collection
    labelField: headline
    minitems: 4
    maxitems: 7
    fields:
      - identifier: image
        type: File
        extendedPalette: false
        minitems: 1
        maxitems: 1
        allowed: common-image-types 
      - identifier: headline
        type: Text
        required: true
      - identifier: text
        type: Textarea
        max: 150
      - identifier: cta_link
        type: Link
        required: true
      - identifier: cta_text
        type: Text
        required: true

if i remove the max and minitems from the image it works, but with it, i’m missing the js Event on the Upload Button. But only on the images in the 3rd and 4th IRRE Element.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.