According to this doc -> https://payloadcms.com/docs/admin/components#cell-component, I can create my custom cell component to display data in the List view.
How would I go about populating the related fields here? Currently, the props passed to the custom component only have an array of IDs or a single ID. I want to display the image thumbnail in the list instead of the ID for that image.
So I have products and they have images(related to the media collection) and I want to display them in the table(List view).
I tried using the Local API to call findById (https://payloadcms.com/docs/local-api/overview#collections) but I got all sort of errors.
Fully customize your Admin Panel by swapping in your own React components. Add fields, remove views, update routes and change functions to sculpt your perfect Dashboard.