keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

Introduce `itemLabel` on `fields.relationship`

Open tordans opened this issue 9 months ago • 0 comments

Right now, the relationship dropdown is displayed as a list of relation ids.

It would be great to be able to customize what is shown there in a way similar to what fields.array has with itemLabel.

Docs: https://keystatic.com/docs/fields/relationship

Example of what it looks like now:

Image

Example: I can fake this today by building the relationship manually and use fields.select

Image

(The width #1298 is a different issue here.)

tordans avatar Mar 14 '25 05:03 tordans