Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How to implement custom Cells to add thumbnails to relationship fields as well as List views?

default discord avatar
chaitealattayy2 years ago
4

I have read the docs on custom Cells:

https://payloadcms.com/docs/admin/components#cell-component

However, I am not sure exactly how to implement them. I want to add thumbnails to both relationship fields for images (so user can see what they are selecting), as well as in the List view.



Is there an example I can reference that shows how to pull the custom Cell in and utilize it correctly?

  • default discord avatar
    chaitealattayy2 years ago
    @541306947463282698

    perfect, thank you!

  • default discord avatar
    jm.sv2 years ago
    @632759919485124619

    @541306947463282698

    did you get this working for the relationship field dropdown? I figured out how to add the cell to my List view and Edit views, but not how to customize the items in the dropdown

  • default discord avatar
    borke5000last year
    @722129234474303508

    how do you add the custom cell to the list view?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.