0

My node type has an unlimited values field collection. It has an entity reference field for Users. Its available values come from a view that uses current NID.

The first FC item works fine, but when I click "Add Item", the whole FC field seems to refresh with no options available for the entity ref field. The first item is cleared.

I've tried hook_views_pre_view, I've tried passing the argument [current-page:url:arg:1] in the field's settings, and I've tried the regular view options like content ID / Raw Value, PHP.

The only thing that works is using Fixed Value with the test node's NID. Then the form works as intended.

Any ideas on a way to make this work? This is time-critical and I'm stumped. Thanks.

  • 2
    I'm voting to close this question as off-topic because this should be handled as bug report to the mentioned third party modules on drupal.org, not here. – leymannx Aug 5 at 5:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.