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 has been archived by the owner on May 29, 2019. It is now read-only.
@im1dermike, I'm having a different problem, but you and @wesleycho are not talking about the same thing. As @wesleycho said, you have to provide a property to bind, not an expression to evaulate. The confusion is that the 'active' (or 'data-active') attribute on a 'uib-tabset' (or 'data-uib-tabset') is bound to a string or number property, but on a 'uib-tab' (or 'data-uib-tab') it is bound to a boolean property (same name, same context, different meaning)!
So, combining your two ideas:
<uib-tabset active="activeTab">
<uib-tab ng-click="activateTab('inProgress')" data-ng-repeat="<you might do this here>">
<uib-tab-heading>In-Progress</uib-tab-heading>
...
</uib-tab>
</uib-tabset>
$scope.activateTab = function (tab) {
$scope.activeTab = tab;
}
$scope.activeTab = 'inProgress';
My problem is that I cannot visual set a tab active without causing problems with child views/sub-routes.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't figure out how to programmatically set the active tab where tabs aren't defined via
ng-repeat
given the newuib-tab
design.I'm trying to do something like this:
I get this error, however:
The text was updated successfully, but these errors were encountered: