How to determine if custom state has any values

I’m trying to set properties on an icon based on a custom state having any current cell values loaded into it. Is there a way to code the “when condition” so I can check?

A condition like when custom state is/is not empty

dropdown on the when condition for the state doesn’t have an “is empty” or “is not empty” . It has an “:each item is empty” and an “:each item is not empty” which doesn’t seem to work.

If your custom state is a list → you can apply :count < 1 or :first items is empty

Prior to that read this helpful thread from @adamhholmes (it’s about WU consumption of approaches I’ve mentioned above) and be sure not to use :count is 0 until Bubble fixes the issue:

Thanks - that worked…

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.