top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
![feature fixed.png](https://static.wixstatic.com/media/3bfa8a_f845e1016b8a49758acdd6edd6610c3b~mv2.png/v1/crop/x_0,y_2,w_852,h_508/fill/w_104,h_62,al_c,q_85,usm_0.66_1.00_0.01,blur_3,enc_auto/feature%20fixed.png)
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Not working
?
How to make repeater show randomized items from dataset with boolean ?
How to random repeater with boolean ?
how to
$w.onReady(function () { //TODO: write your page related code here... }); import wixData from 'wix-data'; $w.onReady(async function () { $w("#repeater1").onItemReady(($item, itemData, index) => { $item('#title').text = itemData.title; $item('#number').text = "" + itemData.num; }); let results = await wixData.query("MYPRODECT").find(); let items = results.items; console.log(items); // take a peek at the items let shuffled = shuffleArray(items); console.log(shuffled); // now see the shuffled array $w('#repeater1').data = shuffled; $w('#repeater1').expand(); });