Problem/Motivation
When using the Entity Form Field plugin in a View with relationships, the form field names are generated using the base entity's ID instead of the relationship entity's ID. This causes all rows in the view to share the same form field names, resulting in all rows sharing the same values. When the form is submitted, all entities are saved with the same values (typically the last row's values), overwriting the individual values for each entity.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3565015-2-views_entity_form_field-relationship-entity-id.patch | 2.04 KB | jungle |
Issue fork views_entity_form_field-3565015
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jungleComment #5
jannakha commentedcreated MR from patch #2
Comment #7
anybodyNice work! Rebased and RTBC'd!
Comment #9
vladimirausThank you for your contribution.
Committed. 🍻
Comment #11
anybodyThank you @vladimiraus!!