0
manojreddy created
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: <a class="postlink" href="https://www.primefaces.org/primeng/#/tabview">https://www.primefaces.org/primeng/#/tabview</a>
3 Answer(s)
-
0
@ManojReddy there might be a bug in PrimeNG. Have you tried to upgrade it ?
-
0
Solved the issue, posting SO link so that it can help others.
[https://stackoverflow.com/a/48749913/6527049])
-
0
thanks for feedback!