You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2019. It is now read-only.
But when I add a tab ( with a push within primaryTabs ) the tab added is not automatically active, and is not shown as the current tab, by changing the code at line 5544 : if (/*tab.index === ctrl.active*/tab.index != ctrl.active ||
I was able to correct it.
Another issue ( that is similar ) is when I set the active property of the tab to true, the watcher doesn't seems to react ... so my tab is not shown as the current active one neither.
this was working for me with the same html / js code, I only changed to higher versions of bootstrap / angularJS.
Angular: 1.4.9
Bootstrap: ui-bootstrap-tpls-1.2.1.js
Thank you for your help !
The text was updated successfully, but these errors were encountered:
@sebius8780, please be respectful of our time by reading both open and closed issues and also reading the CHANGELOG (all of which is documented in the link provided in the text you deleted to enter your issue).
There was a breaking change in the 1.2.0 release for tabs. You cannot set a tab to active by simply toggling a tab's active state. You must do it at the tabset level via the active property. Please note that the demo page is currently broken in this regard but see the linked issue below for a working example.
Hello,
Thank you for your answer and i am really sorry for not looking into the changelog.
It is true that the fact that the demo is not synch with the last version available on the same page is a bit confusing. I can see others are having the same issue i had with that.
Again, sorry, and keep the excellent work !
Hello there and first of all : thank you for uib !
I am working with tab-set and tab but I have some issues regarding the active parameter.
Here is my html code :
But when I add a tab ( with a push within primaryTabs ) the tab added is not automatically active, and is not shown as the current tab, by changing the code at line 5544 :
if (/*tab.index === ctrl.active*/tab.index != ctrl.active ||
I was able to correct it.
Another issue ( that is similar ) is when I set the active property of the tab to true, the watcher doesn't seems to react ... so my tab is not shown as the current active one neither.
this was working for me with the same html / js code, I only changed to higher versions of bootstrap / angularJS.
Angular: 1.4.9
Bootstrap: ui-bootstrap-tpls-1.2.1.js
Thank you for your help !
The text was updated successfully, but these errors were encountered: