The same media item can be added at infinum

Created on 21 February 2024, 7 months ago
Updated 15 March 2024, 7 months ago

Potenially this is a feature but i assume this is a bug.

When you add a field with infinite cardinality, you can select the same media items.

Reproduction:
Create a custom form with a media_library field.
Add 1 or 2 media items
Select one or two of the media items and add them to the field.
Now you can repeat the above step until infinity while selecting items with the exact same id.

I presume there is something missing that tells the library which items have already been selected.

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024