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.

Using collection item as title of array row

default discord avatar
sesons2 years ago
1

Hello fellas, just wondering if someone might be able to provide some info as to how I can use some property of a collection item (i.e. a page title) as a row label for an array?



The use case in particular I'm trying to achieve is having a menu field in which users can select pages to have as part of their menu - the trouble is within the admin.component field, the data value passed in only refers to the ID of the page, rather than having page properties listed.



Is there a way to specify depth for something like this?

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.