Repeat Accordion won't collapse

I have an accordion which is a repeat region. Inside there is another dependent repeat region. The data all comes out right, but the accordions won’t collapse.

<div class="accordion" id="accordionExample" is="dmx-repeat" dmx-bind:repeat="sc_category_tripbits.data.repeat1">
    <div class="card z-depth-0 bordered">
        <div class="card-header" id="heading{{category_id}}">
            <h5 class="mb-0">
                <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapse{{category_id}}" aria-expanded="true" aria-controls="collapse{{category_id}}">
                    {{category}}
                </button>
            </h5>
        </div>
        <div id="collapse{{category_id}}" class="collapse show" aria-labelledby="heading{{category_id}}" data-parent="#accordionExample">
            <div class="card-body">
                <ul dmx-repeat:repeat_tripbits="qry_tripbits" dmx-style:margin-bottom="0">
                    <li><a dmx-bind:href="link" dmx-text="title" target="_blank"></a></li>
                </ul>
            </div>
        </div>
    </div>
</div>

Can anyone spot what I’m doing wrong??
Thanks.

Community Page
Last updated: