How would I put a dynamic collapse inside of a repeat and use the mouse over command to show it? I have tried using dmx-bind:id but when I call it in the browser I get an error that the property is not defined. Below is what is not working:
The collapse:
class=“collapse” dmx-bind:id=“collapse_{{$index}}” is=“dmx-bs4-collapse”
The call to show:
section dmx-on:mouseenter=“MainLayout.collapseCommentsList.collapse_{{$index}}.show()”
The Browser Error:
on.js:13 Error executing “MainLayout.collapseCommentsList.collapse_1.show()” TypeError: Cannot read property ‘collapse_1’ of undefined
Thanks in advance for your help.