- Issue created by @lukasss
- Issue was unassigned.
- Status changed to Needs review
19 days ago 1:05pm 17 October 2025
How to reproduce:
- Create a field whose cardinality is set to CARDINALITY_UNLIMITED (or limited to more than one value).
- Create an entity and give the pluginreference field a single value.
- Edit that same entity and add another value to the pluginreference field.
Nothing new appears in the widget, and the log shows an error similar to: "...array_flip(): Can only flip string and integer values..."
The patch at https://www.drupal.org/project/pluginreference/issues/3473082 🐛 Unnecessary validate in select type widgets Fixed breaks handling of multi-value fields (and possibly more).
The validation check itself is useful, but it must not prevent submitConfigurationForm() from running.
Active
3.0
Code