# In Edit Mode I can't seem to link the visibility of a component to the fact if a relation is empty or not

**URL:** <https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604>\
**Category:** Ask for Help\
**Tags:** glide-escalated\
**Created:** [January 28, 2025, 1:07pm UTC](https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604 "2025-01-28T13:07:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Gestels](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tim_gestels/32/44044_2.png) [@Tim\_Gestels](https://community.glideapps.com/u/Tim_Gestels)\
**Post date:** [January 28, 2025, 1:07pm UTC](https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604/1 "2025-01-28T13:07:45Z")

</div>

So when I open the edit screen for an item.  
I want to make a choice component invisible if the item already has children.  
I only want the user to change the type if the component has no children.

Here’s a brief movie explaining this:  
https://www.loom.com/embed/e142e991f68b46ab855dc9367b43a530

Perhaps I shouldn’t use the edit screen but I prefer not to use a custom edit screen for this with a helper table …

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [January 28, 2025, 3:30pm UTC](https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604/2 "2025-01-28T15:30:20Z")

</div>

Seems obvious that there is an issue here…

@ThinhDinh Have you seen this ?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 29, 2025, 12:00am UTC](https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604/3 "2025-01-29T00:00:45Z")

</div>

[@glide\_help](https://community.glideapps.com/groups/glide_help) Can you please check this issue? Thank you.

---

<div class="post-metadata">

**Author:** ![glide](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/glide/32/53398_2.png) [@glide](https://community.glideapps.com/u/glide)\
**Post date:** [January 29, 2025, 2:02am UTC](https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604/4 "2025-01-29T02:02:53Z")

</div>

This thread has been escalated. Support will follow up via the Messenger in the Builder or through email.

[Best practices when escalating issues to support](https://help.glideapps.com/en/articles/9324487-best-practices-when-asking-for-support)

---

<div class="post-metadata">

**Author:** ![comm\_support\_agent](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/comm_support_agent/32/84195_2.png) [@comm\_support\_agent](https://community.glideapps.com/u/comm_support_agent)\
**Post date:** [January 29, 2025, 2:04am UTC](https://community.glideapps.com/t/in-edit-mode-i-cant-seem-to-link-the-visibility-of-a-component-to-the-fact-if-a-relation-is-empty-or-not/79604/5 "2025-01-29T02:04:26Z")

</div>

@Tim_Gestels we’ll reach out for more information through the Intercom messenger so we can get to the bottom of this! Stay tuned!
