Adding media in a inline entity form replaces the previous media

Created on 20 February 2025, 17 days ago

Problem/Motivation

We have a project with a node, that uses inline entity form to create/edit other nodes. On the node, referenced using inline_entity_form, there is a media field. When I have previous values and I select new ones, the previous image is replaced. the default behavior in Drupal is to append them to the media field.

See https://www.drupal.org/files/issues/2025-02-20/Screen%20Recording%202025... for a demo.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

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

Comments & Activities

Production build 0.71.5 2024