Add a MediaField option to show thumbnails in the relationship selector
.
When editing a relationship field, entries are identified only by a text label (the MainField). When multiple entries have similar names, products with generic titles, users with common names, it is difficult to differentiate them visually. You have to open each entry to check which one is the right one, which considerably slows down the editorial workflow.
Proposed solution:
Add a configurable MediaField option on relationship fields, allowing you to display a thumbnail next to the text label in the relationship selector.
- In “Configure View”, relationship fields have a new “Entry Thumbnail” dropdown menu next to “Entry Title”
- Select a media field of the target content type (ex: coverImage)
- Thumbnails are displayed in the combobox search results and in the list of connected relationships
- Only image files show a thumbnail; other types (PDF, etc.) keep the default icon
- By default to “None” fully opt-in, no breaking changes
Implementation: follows the existing MainField pattern across all layers (types, server validation, metadata synchronization, admin interface).