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?
I
thinkRowLabel is what you are looking for? You can see it here under components.RowLabel?
https://payloadcms.com/docs/fields/array#admin-configStar
Discord
online
Get help straight from the Payload team with an Enterprise License.