Quantcast
Channel: Only show one collapse open (Vue 3 / Bootstrap 5) - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



Only 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
Browsing all 2 articles
Browse latest View live




Latest Images