Like what we’re doing? Star us on GitHub!

Field tags?

remy
4 weeks ago
2

How could I tag a question?


At present, "Question Set 05" is my indication for Q5. It could show more information (in a collapsed view) about what that field contains. If this doesn't exist, it would be a nice to have in the elipsis menu in the attached screenshot, or within the expanded field, that displays in the collapsed view.

Screenshot_2023-02-20_at_15.27.21.png
  • Jesse Sivonen
    4 weeks ago

    If you are looking to customize the row label ("Question Set 05") you can pass a React component to

    arrayField.admin.components.RowLabel

    . That way you can show information contained in the array item instead of the generated label. See documentation here:

    https://payloadcms.com/docs/fields/array#admin-config
  • remy
    4 weeks ago

    Awesome, thanks Jesse!

Open the post
Continue the discussion in Discord
Can't find what you're looking for?
Get help straight from the Payload team with an Enterprise License.Learn More