Hey there, Kudos for the work so far on the module

I used "Entity Reference checkbox" to reference a "Taxonomy term" on my form but the thing is it only renders the titles when viewing the final result.

I was wondering if it's possible to have a section to select the "View mode" that you'd like to use for that specific entity reference.

Thanks

Comments

doxigo created an issue. See original summary.

jrockowitz’s picture

Status: Active » Closed (won't fix)
StatusFileSize
new148.67 KB

Entity references support Views which supports view modes. I don't think the Webform module should provide custom support to entity reference view modes.

doxigo’s picture

Thanks for the quick reply Jacob, while we are at it, I tried this before but somehow I don't get the output from the "Views preview" in the final view of the webform, it's still the titles, is it something that I'm doing wrong or there's any known issues with this feature atm?

jrockowitz’s picture

Status: Closed (won't fix) » Active

@doxigo This might be a limitation or issue with how entity reference selection and Views integration are working.

I am going to reopen this issue. Hopefully, someone can help us explore and maybe suggest a fix for this issue.

jrockowitz’s picture

Status: Active » Closed (won't fix)
Related issues: +#2174633: View output is not used for entityreference options

I finally found the core issue related to this problem.

@see #2174633: View output is not used for entityreference options