Hello everyone,
I created a page in which there are multiple lists under multiple headings I was wondering how I could make it so that if there are no items in one of those lists it would show none beneath it.
You can use conditional visibility for this use case.
Basically put a condition - if count of data is 0, then show this element
Hi Luka,
Great question!
To make sure a heading only shows when its list has items (and hides when it doesn’t), you can use visibility rules in Adalo.
Here’s How to Do It:
- Click on the Heading (above your list)
- In the left panel, scroll to “Visibility”
- Select “Sometimes visible”
- Set the condition:
- “This list → Count > 0”
This way, the heading (and list) will only show if there are items to display.
Tip: You can apply this rule to both the heading and the list, or group them together and apply it to the group.
If you want to dive deeper into lists, filtering, or pagination, here are a couple of helpful resources:
Let us know if you need help setting up the visibility logic happy to help!
Where do I find the this the list option I don’t see it in the drop down menu after I change always to sometimes visible.
This is how you can but the visibility condition.
Let me know if you need more help.
An option to reduce components in the app: the simple list has a function below that says List Empty State… for example, you can tell it to show me all the products in this list, but if the product database has 0, the message, photo, or button you added in the list empty state function will appear.
I hope this helps! Good luck!
What should I do if multiple users have tests say I want to display only the users tests. How could I do that
Using the simple list is it possible to make it so that there is more text than just the title and the subtitle such as a button
No for that you have to use custom list only
The key is always to optimize resources so the app loads faster. If you have a custom list with many image components, various texts, buttons, etc., you can reduce it to a simple one with the arrow, and it’s better to go to a single screen to see all the information… I also use custom lists a lot, but when is it really worth it?
This depends on you and the design you want to give it.
To see the user’s information, their tests should be logged in in user > tests, or you can add the user’s ID to the test, which is all the tests where userID = loggedID.
Using conditional visibility is a simple and effective way to show “None”