Ionic2 tabs can not show text title

I install Ionic 2 alpha 49 and using tabs component. But when I add attribute tab-title=“xxx” to ion-tab, it can not show any text on tabs.

Anyone have problem same as me? How can I solve it?

Thank you

2 Likes

If you’re using alpha49 you need to be using the tabTitle attribute instead of tab-title e.g

<ion-tabs>
  <ion-tab tabTitle="Today" tabIcon="clock" [root]="TodayRoot"></ion-tab>
  <ion-tab tabTitle="Calendar" tabIcon="calendar" [root]="CalendarRoot"></ion-tab>
  <ion-tab tabTitle="Team" tabIcon="people" [root]="TeamRoot"></ion-tab>
</ion-tabs>
1 Like