I do not recognize in any part of your code the following code-line…
$w ( “#accountOpeningListRepeater” ).data = [data-array-here];
That means you have connected a part of your DATASET trough the —> PROPERTY-PANEL-OPTIONS <–.
And that means you are using a DATASET!
Now you have 2-ptoblems!
- At any place inside of your code you have …
$w('#dataset').onReady(()=>{.........});
That means, you do not wait till your DATASET is READY, before start working with it.
- You have now 2 different and somekind of PARALLEL working cycles.
This is why you NEVER SHOULD MIX CODED part with setted OPTIONS inside of the PROPERTY-PANEL, or mixing it with Wix-Data-API.
In 80-90% there are always the same PROBLEMS and ERRORS, if someone starts to mix these things.
EITHER GO THE ONE WAY (CODING-WAY), OR GO THE NORMAL WAY, WORKING WITH CONNECTED DATASET AND OPTIONS INSIDE OF PROPERTY-PANEL.
Both ways will offer you different options.
The more flexible one, which will give you more liberty and won’t give you any BOUNDARIES ----> is the CODING-WAY, where you can setup everything like you want, if you code it on your own.
If you start to use the PROPERTY-PANEL → you will only be able to use those things, which are already predefined and given out of the box.
Only experienced CODERS will be able to combine both ways without having bigger problems.
And this is exactly the case, why you have problems.