Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291302

Entity reference field View output is not used for selected entity display

$
0
0

Follow-up for #2174633: View output is not used for entityreference options: This covers the display on the form of already selected items.

When an entity relation field displays options via a view the view fields are not used to display the selected entity, instead the entity label is shown. This is a regression from Drupal 7.x.

Steps to reproduce

  • Create a View with an entity reference display and set it up to display more then one field as an inline field
  • Add an reference field to a content type that uses this entity reference display
  • Add a node and fill out the field -> this will show the selected entity as configured in the View (using the selected inline fields)
  • Save the node
  • Edit the node
  • Look at the selected value for the reference field

Expected value:
The entity is shown as configured in the View and the same way as it was shown when the selection was made

Actual value:
The entity label


Viewing all articles
Browse latest Browse all 291302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>