Topic: Selecting tabs programmatically

itay pro asked 5 years ago

In the documentation that are instructions on how to disable and remove tabs programmatically Better and instructions on how to select a tab programmatically using: tabSet.setActiveTab(i);  

Arkadiusz Idzikowski staff answered 5 years ago

We will update our documentation in the near future. Regards, Arek

dimitribocquet pro answered 5 years ago

Thanks for the tip, I was looking for to do that ! We definitely need this in the doc.
@ViewChild('tabs') tabs: TabsetComponent;
I need to do that because my first tab is disabled by default, but it's still selected on init. Looks like a bug.

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

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: Yes