Hi Experts,
I have some trouble loading all the contents in my repeater before it appears. My repeater appeared before all the contents are loaded, and I am able to see the contents changes. I wanted my repeater to appear with the correct information, instead of appearing followed by loading of contents.
Here is my code:
function filterReview() {
let n = $w('#nDataset').getCurrentItem();
$w("#reviewsDataset").setFilter(wixData.filter()
.contains("nId", n._id))
.then ( () => {
reviewsPNameImage();
reviewsStarsRating();
reviewsDate();
$w('#repeater1').expand();
})
}
What should I change to make sure the repeater appear with the right contents?
Thank you in advance!