angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.29k stars 6.73k forks source link

uib-tabset Active property not working in 1.3.3 #6294

Closed pjlasl closed 7 years ago

pjlasl commented 7 years ago

Bug description:

The active property is not selecting the proper tab when set via the controller.

I am seeing the value change between clicks, but the tabs themselves are not showing as active.

Link to minimally-working plunker that reproduces the issue:

`

` In my controller i have: `$scope.stage.active = 1` I would expect it to set the second tab active, but it doesn't... ### Version of Angular, UIBS, and Bootstrap Angular: 1.5.8 UIBS: 1.3.3 Bootstrap: 3.3.6
varunkumarm commented 7 years ago

@pjlasl It looks like I'm also facing the same issue. Can you please provide the rationale behind closing this issue? If you have found a way to make this work, please put a comment here. Many thanks!!

pjlasl commented 7 years ago

My issue wasn't code related, but rather version related...My code was written for 1.3.3 of angular-ui, but my bower had not properly updated from 0.14.3. Once I moved to the proper version, everything worked. It was move of a oops on my part for not double checking the angular-ui version after my update...

Vnthf commented 7 years ago

uib-tab made by ng-repeat is not contained in active index. I tested it and It is bug.