Multiple image props on SDC are not supported in Canvas

Created on 8 October 2025, 13 days ago

Overview

When having multiple image props in a single SDC component, only the last uploaded image is actually saved. The same bug is also happening when using an array prop for multiple images.

Example of the props configuration:

props:
  type: object
  properties:
    image_desktop:
      $ref: json-schema-definitions://canvas.module/image
      type: object
      title: Image Desktop
    image_tablet:
      $ref: json-schema-definitions://canvas.module/image
      type: object
      title: Image Tablet
    image_mobile:
      $ref: json-schema-definitions://canvas.module/image
      type: object
      title: Image Mobile

OR

props:
  type: object
  properties:
    images:
      title: Images
      type: array
      items:
        $ref: json-schema-definitions://canvas.module/image
        type: object
🐛 Bug report
Status

Active

Version

1.0

Component

… to be triaged

Created by

🇺🇸United States edwardsay

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024