Situation

entity type A has a select referencefield to type B.
entity type C has an inline entity reference referencefield (cardinality n) to type A.

When creating or editing type C entites ddf only works for the first inline entity (type A, ddf for referencefield to type B).

I have to admit that I did patch the js in oder to fit my needs (enabled self-referencing; fixed argument to only use the first -> see patch file attached). However, I don't think these changes are the source of my problem.

the problem

the javascript seems only to ever be attached to the first inline entity loaded.

Any hints on how this could be fixed?

tia

Comments

attisan created an issue. See original summary.

alex.bukach’s picture

Status: Active » Needs review
StatusFileSize
new625 bytes

In my case the issue was solved just by removing processed class from the form (leaving it on elements only).

maximpodorov’s picture

Please try the current dev version. I hope this problem is fixed now.

takki’s picture

The dev version fixes this issue indeed.

alex.bukach’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.