Topic: mdb-tabset, dynamic tabs, need fixed tab as last

fonzzz pro asked 5 years ago


Hello, <mdb-tabset> <mdb-tab *ngFor="let item of filterCategories" heading="{{item}}" (select)="onTabChanged()"> </mdb-tab> <mdb-tab heading="Custom" (select)="onTabChanged()"> </ </ I have something like this. I have a set of dynamic tabs and 1 fixed tab. I want this tab to be the last tab, but somehow it shows up as the first tab. How can I make it the last one?  

fonzzz pro answered 5 years ago


I found a workaround for this, so no need to answer it. But it would still be good to maintain the natural order I believe. Workaround is to add " *ngIf="true" " to the last tab  

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: No
Tags