I'm trying to select Tab2
by default, But it's not working correctly, It's selecting both tabs. I can see Hello
and World
on screen.
<p-tabView>
<p-tabPanel header="Tab1">
Hello
</p-tabPanel>
<p-tabPanel header="Tab2" [selected]="true">
World
</p-tabPanel>
</p-tabView>
I'm using primeng version 4.1.2.
Reference: https://www.primefaces.org/primeng/#/tabview