It’s been bugging me for quite a while , to know if a repeating group has finished loading or not.
Today I’ve tried a super simple solution and it worked. I still did not test it thoroughly in many more situations, but I’m feeling optimistic.
It’s this simple: lets say the repeating group is called “RG”.
So it’s simple as checking RG’s count is RG’s count as a condition. I know it sounds stupid , but it just worked for me. It seems like it will force bubble to full calculate the RG’s final length and return true only when its actually finished populating it.
Yes. As said by Bubble support: “If you have a large amount of data for the RG, the ‘is loading’ state might not work as expected because it is based on when the searches in the RG returns data and not necessarily when it is displayed on the page.”
In other words, it does not work as anybody would expect it to, so basically doesn’t work.
This will work if you are not using pagination…and it think if the rg count is 0 (ie: it is not loaded yet) that will still show rg count is rg count as true…should add an add operator to be and rg count is greater than or equal to 1.