Your probllem could be the following CODE-LINE…
const repeatedDetailBox = $w('#detailBox');
You even could solve your problem by your own, just taking a closer look onto the name you gave your BOX-ELEMENT.
What is the name of your BOX ??? Exactly, it is —> repeatedDetailBox.
So what’s so strange or special with that name???
Exactly —> repeatedDetailBox !!! (You already have any idea?)
Exactly → $w(‘#detailBox’); <— What’s wrong here?
- When do you use → $w ???
- When do you use → $item ?
Your good coding-syntax saves your own life