I have a collection where I added a relationship field to user. The dropdown shows the user's full name only, and I would like to modify that dropdown to instead be "Full Name ( email )". Is there a supported path to make this change?
For now, I've just updated the
admin.useAsTitleto
email. It'd be nice if I could use multiple fields in a specific format:
'{ name } - { email }'The most common way to do this is to create a hidden field that contains the
useAsTitlevalue you want to display, and populate it with a hook (
beforeReador
afterChange).
Star
Discord
online
Get dedicated engineering support directly from the Payload team.