tabPanel selected does not work

UI Components for Angular
Post Reply
nraphael
Posts: 10
Joined: 15 Apr 2016, 07:49

28 Jul 2016, 06:41

I have 3 simple tabPanels on a dialog. I want to set the reset the tabView back to the first tab when they close (or open) the dialog. So I have an event on onAfterHide of the dialog. On the tabPanel I have [selected]="selectFirstTab".

selectFirstTab is a boolean on the component. In onAfterHide I set selectFirstTab = true.

It doesn't work. I tried a number of other approaches but basically I can't bind [selected] to a property of the component. Any ideas?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests