Repeater : last item is duplicated

Hi everyone !
My repeater shows only the last itemData duplicated in every repeated item. Any idea why ? here is my code :

var content = []

function refreshRepeater() {
    $w("#dynamicDataset").onReady(() => {
        wixData.query("Assessments")
            .eq("title", $w('#dropdown1').value)
            .find()
            .then((results) => {
                let firstItem = results.items[0];
                content = firstItem.content

                $w('#repeater1').data = content

                $w("#repeater1").foreachItem(($item, itemData, index) => {
                    console.log(itemData)
// properly returns every item on the console

                    $w("#text68").text = itemData.question
                    $w('#radioGroup1').options = itemData.answers
                });
            })
    })
}

Thank you so much to anyone who could have an answer

You need to use the $item context selector. For this chunk of code:

                $w("#repeater1").foreachItem(($item, itemData, index) => {
                    console.log(itemData)
// properly returns every item on the console

                    $item("#text68").text = itemData.question
                    $item('#radioGroup1').options = itemData.answers
                });

BTW - You don’t need $w(“#dynamicDataset”).onReady() as you aren’t using the dataset in your code.

As always Yisrael, you save me. Thank you so much !!