I am trying to do a simple repeat based on manually entered data from a variable. This should be 'simple' but for some reason I am struggling, can you help?
<dmx-value id="var_years_list" dmx-bind:value="2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024"></dmx-value>
<div>
Years
</div>
<div class="btn-group btn-group-toggle d-flex flex-wrap" is="dmx-repeat" data-toggle="buttons" dmx-repeat:repeat1="var_years_list">
{{$index}} for {{var_years_list[0].value}}
</div>
Brilliant! It's simple when you know how. I couldn't get my head away from 'variable'. Don't worry about syntax, flex etc, I cut the code down from a much larger sample. I can sort it from here