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.

Is it possible to show/hide a specific tab based on a field value?

default discord avatar
.gustavocardoso2 years ago
2

Hey people. How are you?



Is it possible to show/hide a specific tab based on a field value that's in another tab?


I have a tab that has a field called numberOfColumns. I would like to show/hide another tab based on this field's value.



Thank you!

  • default discord avatar
    tinouti2 years ago

    I don't believe so. Although there's a Feature Request that exists for this (

    https://github.com/payloadcms/payload/discussions/1840

    ), and it's already been added to the roadmap! 😊

  • default discord avatar
    .gustavocardoso2 years ago

    Thank you for the answer. I'm trying to figure out a way to do this though. I used to have this using ACF and WP and I;m trying to replicate the same behaviour using Payload.



    I ended up working with groups instead of tabs for now!

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.