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.

Cell component with first column "WrapElement" link

default discord avatar
ilfebba2 years ago
2

Hello,


I created a cell component link in the doc (

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

)


When the cell is in the first position the "WrapElement" (

https://github.com/payloadcms/payload/blob/master/src/admin/components/views/collections/List/Cell/index.tsx

) with the link to the document is not added.


Is this a bug or is there something to be implemented?



Thank you

  • discord user avatar
    jarrod_not_jared
    2 years ago

    You will need to implement your own wrap element component. You have everything you need to do that since the link prop is passed to your custom component. You are looking at the default cell component in that file, but you are rendering a custom cell component

  • default discord avatar
    ilfebba2 years ago

    Ok thank you

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.