#Payload v3 beta custom label for array field entries

4 messages · Page 1 of 1 (latest)

keen orbit
#

I'm setting up an array field and one of the fields is called "name" within it. I'd like the label of the field to be what is entered there. I've looked up multiple sources and I'm getting confused as to what is the latest/correct way to do it.

I know there is the switch to a pathname to a component but when I do that I don't see the values of the fields coming through. I feel like the website docs for this is out of date at the moment as well?

Any feedback appreciated! Thanks

analog jettyBOT
keen orbit
keen orbit
#

So, overall, it worked; but installing @payload/ui proved to be a bit cumbersome with versioning.

this is the dependency list that ended up working for me :

        "@payloadcms/db-mongodb": "beta",
        "@payloadcms/next": "beta",
        "@payloadcms/plugin-cloud": "beta",
        "@payloadcms/richtext-lexical": "beta",
        "@payloadcms/ui": "beta",
        "cross-env": "^7.0.3",
        "graphql": "^16.8.1",
        "next": "15.0.0-canary.179",
        "payload": "beta",
        "react": "19.0.0-rc-3edc000d-20240926",
        "react-dom": "19.0.0-rc-3edc000d-20240926",
        "sharp": "0.32.6"```

Of course, I'm sure this will get resolved with the final release.