I have an accordion (expandable / collapsible) using Angular UI Bootstrap which has three panels.
I don't want the user to be able to open multiple panels at a time. The documentation give this option
<accordion close-others="oneAtATime">
With this in the controler
$scope.oneAtATime = true;
But I'm still able to open multiple panels at a time. What am I missing?
use it like this
<accordion close-others = "true">
</accordion>
Check this plunker
If these changes are not giving you expected results, then something else is not correct in your program, check the dependencies and create a plunker and post the link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With