tabview property activeIndex does not change when tabs switch.
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.
Most helpful comment
Same problem here. Workaround:
use
instead of
:)