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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | select2widget-empty_rendered_terms-2387567-1.patch | 710 bytes | bgilhome |
Comments
Comment #1
bgilhome commentedComment #2
Zolyboy commentedThanks for the patch! We will commit it soon, I created the default case too for custom entities.
Comment #4
Zolyboy commented