I'm having problems with FC (beta4 and dev) and Entity Reference fields.

An FC field has an Entity Reference field that lists users. I'm trying to restrict the user list to only include users, that have the same Entity Reference that the node having the FC field has.

If I restrict the user list with a View (contextual filters), it works in the "node edit" page form, but breaks (empty select list) when Ajax reloads the form (adding or removing FC items).

What most baffles me is that if I form_alter the FC form to remove items from the user select (dropdown) manually, the end result is the same.

Please help (or point me in the right direction). Thanks in advance.

Comments

joel_osc’s picture

I am seeing this issue too, I am wondering if you found a workaround or if I can be of any assistance in getting this fixed.

tim.plunkett’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

I believe this is a duplicate of #1675522: Remove button broken if form is rebuilt (via ajax or failed validation).
Unfortunately there is no fix yet, but following one issue will be better than having many.

tim.plunkett’s picture