Collection List keeps getting corrupted

Happy Friday everyone!

I have a collection list which are bound to a collection. In the formula page I can see that there are 12 items to display but the collection list will only ever display 4. I have ensured that the container is large enough to show all the records and tried setting all sizing to auto but it simply will not display more than 4 items.

Has anyone else had this issue? I have had it before and I simply changed it out for a datagrid but that solution will not work for me this time.

Any ideas anyone?

Thanks

Paul

One other detail to add to this. When I try to edit this collection list when I switch from edit/preview the system frequently crashes or asks if I want to wait. I had the same issue with the previous collection list that also corrupted.

Adding a paginator to the collection and limiting the page to 4 items does then show me the correct number of pages, if I try to access any but the first page then it crashes.

Hi @Mydoghasnonose :wave:

Hmm maybe you are binding the collection’s metadata rather than the data array which contains all items (hard to know without a screenshot of your collection and the binding).

Thanks - which should I be binding to in a collection list, the metadata or the data array?

If pagination is enabled with metadata, elements repeat only for paginated items. To repeat all, bind the data array, but, again: I can’t see your collection or how you’re binding it, so it’s hard for me to provide any accurate feedback.

Thanks again. I have tried everything now, even rebuilding the collection list. I genuinely think this might be a bug, especially as Weweb crashes. I have changed to a datagrid and all is ok.

It shouldn’t crash, unless you have too many items loaded in the frontend. Do you want me to have a look at your project, or is it fine by you now? You can send me the link to your project in private here.

Its ok, thanks danlopes. If i happens again I might get in touch with you.