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.

Can i add tabs to a collection without changing the data structure

default discord avatar
aaronksaunders10 months ago
5

Hmm… now I have to decide if it is worth the migration issues to clean up my data and rip out the name field on my tabs!!

  • discord user avatar
    tylandavis
    last year

    Adding a

    name

    value will group the fields within the tab, same as a

    group

    ,

    collapsible

    , etc. But if you don't give it a name, the fields inside stay at the top layer in the data structure.

  • default discord avatar
    aaronksaunderslast year

    Curious how you figured that out !!

  • default discord avatar
    baotaohlast year

    Thank!

  • discord user avatar
    tylandavis
    last year

    Yes you can. Just don't add a

    name

    value to the tabs.

  • default discord avatar
    baotaohlast year

    i already have prod data and want to move some items to separate tab.

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.