Using select2widgetajax as the widget for an entityreference field, with target type Taxonomy term, resulted in ajax results being rendered as empty, due to select2widget_render_entity missing a switch case for 'taxonomy_term'. Patch adds this. We could also probably add a default case using eg. calling drupal_alter on entity_view.

Comments

bgilhome’s picture

Zolyboy’s picture

Thanks for the patch! We will commit it soon, I created the default case too for custom entities.

  • k_zoltan committed 38e368a on 7.x-2.x authored by bgilhome
    Issue #2387567 by bgilhome, Zolyboy: Render function missing case for...
Zolyboy’s picture

Assigned: Unassigned » Zolyboy
Status: Active » Closed (fixed)