Primeng: tabview activeIndex problem

Created on 3 May 2018  路  3Comments  路  Source: primefaces/primeng

tabview property activeIndex does not change when tabs switch.

Most helpful comment

Same problem here. Workaround:
use

instead of

:)

All 3 comments

When I inject a tabview into my component.ts "@ViewChild (TabView) tabView: TabView" and call a function to change the active tab with the following code "this.tabView.activeIndex = 0" the tab is not changed, only when I assign twice the value of the property. Example "this.tabView.activeIndex = 0; this.tabView.activeIndex = 0"

Same problem here. Workaround:
use

instead of

:)

I'm unable to replicate with the latest PrimeNG. If the issue still persists with the new version please create a new issue with our stackblitz template.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KannanMuruganmony picture KannanMuruganmony  路  3Comments

gatapia picture gatapia  路  3Comments

garethlewis picture garethlewis  路  3Comments

watalberto picture watalberto  路  3Comments

markgoho picture markgoho  路  3Comments