Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap collapse show class, breaks showing the gauge in next card when dynamic. #320

Open
tonyv69 opened this issue Oct 17, 2018 · 0 comments

Comments

@tonyv69
Copy link

tonyv69 commented Oct 17, 2018

this line of code is needed to show or not show a collapsed section in bootstrap

<div id="collapseID" class="collapse show"... //shows section
or
<div id="collapseID" class="collapse"... //hides section

if I try this to make it dynamic its works for the collapse sections but breaks the gage and it does not show

{!! $loop->first ? 'show': ' ' !!} //if first in loop add 'show' else empty string ' '.

if I remove this code the gage shows, however, all collapse sections are now open instead of first one open all the rest closed. hope this makes sense and you can help thanks.

@tonyv69 tonyv69 changed the title bootstrap collapse show class, breaks showing the gauge in next card. bootstrap collapse show class, breaks showing the gauge in next card when dynamic. Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant