statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
30 stars 1 forks source link

Add conditions to blueprint tabs #1045

Open pixels-for-breakfast opened 9 months ago

pixels-for-breakfast commented 9 months ago

Let's say you have an 'Article' blueprint which has an 'article_type' field. It would be really helpful to hide/show tabs based on such a field to keep the layout clean and tidy.

duncanmcclean commented 3 months ago

There's no settings on the tabs themselves, however, if you have conditions setup for the fields inside the tab and there's no fields visible, the tab will be hidden.