Entity Reference View Arguments do not vary by bundle

Created on 14 March 2024, 4 months ago

This module is so great. It's enabled me to build some really useful interfaces very easily.

I think I've uncovered a minor issue with handling of entity reference view arguments which allow for an autocomplete drop down of choices for the user to enter data into the field. The argument passed to this secondary view is not specific to which bundle the record in the main view is a member of.

Using an entity created with the eck module, I have an entity reference field for taxonomy terms. I utilize an Entity Reference View to limit the choices for the user and I pass in the bundle of the entity as an argument. I have two bundles login and submission. When I have elements from both in my view with a page display, regardless of the entity that I'm looking to edit, it always passes in 'login' as the argument. My guess is that that's only because it is first alphabetically. I tried reordering the items on my form, but it always uses the same argument.

I would expect the form field to be rendered for the bundle/type that the underlying entity has.

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States davemaxg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024