Problem/Motivation
in a complex setup involving Media Library and Inline Entity Form, I am encountering an issue when adding multiple items to a field.
Specifically, I have a field referencing a taxonomy vocabulary with a multiple-choice option with inline entity form complex, allowing either the selection of existing terms or the creation of new ones. However, when I insert an item through the integrated Media Library, only the first term gets saved, even if I add or create multiple terms (e.g., two terms).
This behavior seems to prevent proper handling of multiple terms in this specific context.
Version Drupal : 10.3.2
Version IEF: 3.0.0-rc20
Steps to reproduce
-
Configure the Media Entity
- Create a media entity M.
- Add a field T to the media entity M, with a taxonomy term reference field allowing multiple values.
- Edit the display settings for field T, enabling Inline Entity Form - Complex, with the option to add new terms or select existing ones.
-
Set Up the Paragraph
- Create a paragraph type P with a field referencing the media entity M.
- Set the display mode of this field to use the Media Library.
-
Create and Test in a Node
- Create a node N and add a paragraph of type P referencing media entity M.
Comments
Comment #2
naim belkaied commentedComment #3
naim belkaied commentedComment #4
naim belkaied commentedComment #5
naim belkaied commentedComment #6
abanoub.makram commentedI have the same issue, it only saves the first item
Comment #7
abanoub.makram commentedThe issue happens when I use the "inline entity form simple" widget but when switched to the complex widget it's worked fine
Comment #8
jérôme dehorterHello,
Not working on our website with complex or simple mode. Only the first term is saved.