Relationship select results custom grouping

default discord avatar
8 months ago

For example if I have a collection that has a


field, I'd like to group the options in the select field for a relationship by this


field, like how it is displayed when you allow relationship to multiple collections

  • default discord avatar
    7 months ago

    This sounds like a customization that would need to be handled from opening the config to support this or using a custom component for this. I think a custom component would be the best move here, once we start work on our component library (specific for payload components, i.e. fields) that we want to open source it should be easier to get up and running with this approach.

    Follow along here:

    Relationship select results custom grouping

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.