Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I added a field to one of my field collections called supplier which references a supplier content type through the entity reference module (http://drupal.org/project/entityreference).
The problem is that that autocomplete widget doesn't work. I had to go and change the widget to Select List and then the supplier list works. But not with autocomplete.
Thanks!
Comments
Comment #1
markwk CreditAttribution: markwk commentedI also seem to have the same problem here. Basically the issue seems to be that we need to have already created the id (i.e. saved the field collection) before the auto reference will work
Comment #2
thatjustin CreditAttribution: thatjustin commentedSame problem here.
Comment #3
Zippy CreditAttribution: Zippy commentedThe latest version of entityreference seems to solve some of the problems. The problem seems to be solved for entityreference (within field collection) that reference to content types.
There is one problem left: An entityreference field (within fieldcollection) that is associated to a view isn't getting any values... All other widgets get these values...
Comment #4
Solomon.Yifru CreditAttribution: Solomon.Yifru as a volunteer commentedfacing the same problem, In my view, users with certain role is perfectly filtered and listed using entity reference. but when I try to use that result with auto complete, it brings all users.
any solution?
Thanks,