Hello there,

So based on my previous issue I mentioned I'm trying to change the way that a certain Taxonomy term reference field is being rendered on the webform view.

I have a taxonomy term called "Clothes" and I'd like my users to select from them, so each taxonomy term has a "Image" field also.

Steps to create the issue:

  1. Create a taxonomy term with a custom field such as image field
  2. Create a webform and select "Entity checkboxes"
  3. Create a view of the taxonomy term and output a "Entity Reference" and only render "Image fields"
  4. Assign the said view to the webform field

In the webform view you only get taxonomy term titles and a checkbox next to it instead of "Image fields" with the checkbox next to them

Thanks

Comments

doxigo created an issue. See original summary.

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

I think this is a core related issue.

If you apply the above steps to an entity reference field using a view displaying checkboxes, do you get the same result?

doxigo’s picture

Yes I guess you are right, I have the same issue with a content type in node edit page

jrockowitz’s picture

The most immediate workaround would be to alter the checkboxes' options and replace the displayed checkbox label with the rendered entity.

doxigo’s picture

Thanks but that workaround isn't a possibility in webform or is it?

doxigo’s picture

I guess we should close this issue since it's a core problem, but for those who come here, take a look at this thread

I applied patch #206 and it fixes the issue for now.

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
Related issues: +#2174633: View output is not used for entityreference options

I am closing this issue and linking to the related issue.