Answer by Yogi for Only show one collapse open (Vue 3 / Bootstrap 5)
A few minor changes to make it workYour code requires some minor fixes to work correctly. Add the data-bs-parent="#myGroup" attribute to each collapse. And then assign the same id to the parent element...
View ArticleOnly show one collapse open (Vue 3 / Bootstrap 5)
I'm working with Bootstrap5 and Vue 3. I have multiple buttons and each of them is triggering one collapse.What I want is that if I open one collapse all other collapse should be closed. But now every...
View Article
More Pages to Explore .....