Closed (fixed)
Project:
Entity reference autofill
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2014 at 11:24 UTC
Updated:
3 Mar 2014 at 13:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jgullstr commentedHi milos.kroulik,
I have added some more API functions and a sub-module, that attempts to handle the OG widget, in the latest dev version. Try it out and let me know how it works.
//Josef
Comment #2
jgullstr commentedComment #3
milos.kroulik commentedHi Josef,
thanks for quicḱ reply and submodule. I tried to use it, but Im probably doing something wrong - I don't see any option to see "Entity reference autofill" under "Additional behaviors". Can you, please, look at enclosed screenshots and guess where the problem is?
Miloš
Comment #4
jgullstr commentedThe most probable reason is that you allow more than 1 value on the OG field. The module only works for fields with a cardinality of 1, since there is no clever way of knowing what data to consider for multi-value reference fields. I apologize for not having this documented, and hope this wont break your use case.
//Josef
Comment #5
milos.kroulik commentedYes, that was the reason. Unfortunately, you're also right in that it breaks my use case. It would be great, if we could modify the module's behavior in case where there are multiple values (of some data type) present. For example, I would like to use this module to autofill user's area as sum (total) of areas corresnponding to groups he/she is member of.