Skip to content

Don't show tabs which have no visible fields #6615

@puzzledmonkey

Description

@puzzledmonkey
  • Laravel Version: 11
  • Nova Version: 5.0.2
  • PHP Version: 8.3
  • Database Driver & Version: n/a
  • Operating System and Version: n/a
  • Browser type and version: n/a
  • Reproduction Repository: n/a

Description:

Tabs which don't contain any visible fields should be hidden automatically

Detailed steps to reproduce the issue on a fresh Nova installation:

Thanks for implementing tabs! However, when using tabs with dependsOn, it's sometimes the case that a tab will have no currently-visible fields in it. Is it possible to hide the tab in this case (or provide a hideWhenEmpty() or similar)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified bug by the Nova teamfix incomingA fix is in review

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions