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

justified expression not evaluated #6521

Open swrocket opened 7 years ago

swrocket commented 7 years ago

I set the justified value to an angular expression (model.tabSettings.isJustified) that is set in my controller to true by default. However, when the value of this expression is changed to false in the controller, the tabs are still justified. <uib-tabset justified="model.tabSettings.isJustified" interval="-1">`

WVWillHall commented 7 years ago

There is no watcher set on this attribute. Luckily, it is just a class toggle so you can pretty easily supplement this functionality.

ex: https://plnkr.co/edit/vOBQhfhYp9Y4fo8yOcWP?p=preview