Thanks! You’ve triggered one of my other timing confusions: repeater onItemReady().
From the reference –
Note
When using a dataset to populate the contents of your repeated items, the onItemReady() callback function is triggered before the dataset populates the values of your page elements. Therefore, element values that you set using onItemReady() may be overridden when the dataset is ready. To change the values set by the dataset, use forEachItem inside the datset’s onReady() . For more information, see the forEachItem examples.
Does this mean that onItemReady for a repeater could be running before the datasets are ready?
It does seem to say that enabling the button in onItemReady may make the button clickable before the dataset populates other repeater elements–which is what i suspect my issue is now.
All said, I want to know when that second stage is reached — the repeater item is ready AND any data connected items in the repeater have their data connected.
Is there a good document that lays out all the timings?
THANKS