# Visibility condition doesn't follow the condition? Or, possibly, card component doesn't load the data?

**URL:** <https://community.glideapps.com/t/visibility-condition-doesnt-follow-the-condition-or-possibly-card-component-doesnt-load-the-data/62988>\
**Category:** Report a Bug\
**Created:** [June 20, 2023, 8:27pm UTC](https://community.glideapps.com/t/visibility-condition-doesnt-follow-the-condition-or-possibly-card-component-doesnt-load-the-data/62988 "2023-06-20T20:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamara\_Didenko](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tamara_didenko/32/42215_2.png) [@Tamara\_Didenko](https://community.glideapps.com/u/Tamara_Didenko)\
**Post date:** [June 20, 2023, 8:27pm UTC](https://community.glideapps.com/t/visibility-condition-doesnt-follow-the-condition-or-possibly-card-component-doesnt-load-the-data/62988/1 "2023-06-20T20:27:20Z")

</div>

Initially, I was confused by the behavior of the visibility condition, but when I was troubleshooting, I noticed that the component in question is not loading data. Let me try to explain:

**My App/Pages support link:**  
Doesn’t seem like new Apps have support links anymore so here’s just a link to the prototype I’ve been working on [https://products-fabrics-siz-mt6k.glide.page](https://products-fabrics-siz-mt6k.glide.page)

**Expected behavior:**  
I’m trying to create a progressive disclosure in an edit form. Here’s the table that is being “edited,” aka filled step by step.  
 ![CleanShot 2023-06-20 at 13.02.06](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/9/3933b542fb013cd4a70ac51bdb97eab55b06bb5e.png)

To fill the form, I’m using card components and custom actions:

1. Step 1. Only show clothes options. When user taps a card, set `clothes` column value to selectd item.  

2. Step 2. Select fabric. This column source is the relation column from `clothes` so I don’t need to set visibility condition here, so it works as expected. “On tap” action as the same as for Step 1. When user taps a card, it sets `fabric` column to the selected item name.  

3. Step 3. Select size component should appear as its visibility condition is set to "Show when `fabric` is not empty.  

**Describe the bug:**  
After I set `fabric` column, I expect the Collection Sizes to show up because it’s visibility condition is set to show when `fabric` column is not empty.

 ![CleanShot 2023-06-20 at 13.17.16@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/4/945309e4230030e5bf31ad5357dbf9c55ffd166d.jpeg)

Here are the settings of the Sizes collection. I’ve also noticed that when I try to look at Data for this collection, all rows are empty:

 ![CleanShot 2023-06-20 at 13.17.03@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/9/59f31c6788e4d7f620fb1ae1682061148387c041.jpeg)

And it should be reading from this sheet (there are no additional filters set for the collection):

 ![CleanShot 2023-06-20 at 13.21.47@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/8/c81f1dfb2fb5492a4e3cba763cca5d7fa59f0cb1.png)

**How to replicate:**

1. On the main screen of the app, click “+” sign to add a new order. This will open an edit screen
2. Select any clothes
3. Select any fabric
4. Sizes collection should appear and it doesn’t

**Link to demo recording (optional):**  
 ![CleanShot 2023-06-20 at 13.24.52](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/4/043e68ecdfd2a8fcb88bb3321a2df24913a98c9f.gif)
