Join the Webstudio community

Updated 9 months ago

Inconsistent UI rendering based on collection size

At a glance
I have a collection is binded to a variable that contains the return value from a POST resource ... a json array of a random # of elements which renders a bunch of cards .. but the UI seems to always show the maximum # of cards ... I debugged the server side and the # of entries returned is varying

What is the issue here? The webstudio rendering does not seem to change based on the # of entries in the collection
O
S
8 comments
it should, please share a link
the posts section is binded to a resource ... the # of posts that are sent from the server are random from 1 to 12
Server published data
Go to the blog using n8n page
What are the steps?

I see 12 items fetched and 12 items rendered.
if my post call returns 3 items .. 12 items still are rendered .... is the data cache somewhere
dang never mind ... seems like my query return value wasnt set correctly ... sorry!!
when you are in builder, you need to refresh the resource, there is a button for this, if you want to see the latest data.
Add a reply
Sign up and join the conversation on Discord