Nested repeat repeats same info over and over

I have a nested repeat following the tutorial, but something is wrong as it repeats the nested data for the first record over and over.
Steps: Server connect

  1. The main query
  2. The repeat
  3. The query for the images
  4. The query img condition

App Connect

  1. The main repeat region
  2. The nested repeat region

The code for the repeat regions:

<div class="row" is="dmx-repeat" id="repeat1" dmx-bind:repeat="scchalets.data.repeat">
                <div class="col-6">
                    <h1 class="h5">{{titel}}</h1>
                    <p dmx-html="omschrijving"></p>
                    <div dmx-repeat:repeat2="scchalets.data.repeat[0].qryimages">
                        <p>{{afbeelding}}</p>
                    </div>
                </div>
            </div>

Can anyone tell me why it is repeating the same data?

Community Page
Last updated: