Topic: Hide tab dynamically

et3rnal87 pro asked 3 years ago


I can't find a way to set a tab inside an mdb-tabset to be hidden or a way to pass a class to a specific tab? if I add class to mdb-tab it applies to the content and I can't find anything in the documents? I assume adding a class a basic configuration to allow when you look-down as a component.

Something like disabled but in my case I need to hide it or remove it and show it dynamically

Also, tabsButtonsClass="" and tabsContentClass="" issn't working for me? but I assume they are not avalible in 6.3.0? any alternatives?


Arkadiusz Idzikowski staff answered 3 years ago

You can use *ngIf directive on the mdb-tab component to hide/show it when certain condition is met.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.3.0
  • Device: Windows
  • Browser: FF & Chrome
  • OS: win 10
  • Provided sample code: No
  • Provided link: No