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.

Collections' field names are ignored in defaultColumns

default discord avatar
hayskapoy2 years ago
7

Collections' field names are ignored in defaultColumns if those fields are inside a tabs field. The only selectable fields are id, updatedAt, and createdAt 🥲

  • discord user avatar
    jarrod_not_jared
    2 years ago

    Hey

    @712127536326246413

    I believe this is a similar report:

    https://discord.com/channels/967097582721572934/1082462155233841162

    If you want to create an issue for this one on GH that would be great

  • default discord avatar
    hayskapoy2 years ago

    I'll create a repo that reproduces this issue. Thanks!

  • discord user avatar
    jarrod_not_jared
    2 years ago

    That would be much appreciated, thank you 🙏

  • discord user avatar
    jacobsfletch
    2 years ago
    @712127536326246413

    there's already a PR out now that fixes this so no need! It should get merged soon and released asap

    https://github.com/payloadcms/payload/pull/2258
  • default discord avatar
    hayskapoy2 years ago

    Thank you!!!

  • default discord avatar
    captken.2 years ago

    Has this been merged to latests release as it still in Collections' field names being ignored in defaultColumns ?

  • default discord avatar
    joephuz.last year

    This is still not working for me... specifically where the field is nested within a tab. The fields wont show up in 'defaultTabs' or in the column filter. Side-note, the buttons in the column selector aren't selectable either, seems to do with the drag drop nature of them but Im not sure (sometimes i can get them to click if i try hard enough)

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.