# Globals: Unlinking a Switch UI Control in a custom component?

**URL:** <https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960>\
**Category:** Elements API\
**Created:** [July 11, 2026, 12:37pm UTC](https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960 "2026-07-11T12:37:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [July 11, 2026, 12:37pm UTC](https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960/1 "2026-07-11T12:37:51Z")

</div>

I don’t appear to be able to unlink a Switch UI Control in a component that is in a Global. I have had to change it to a Segmented UI Control to be able to unlink it.

The unlink item is present for the Segmented Control but not the Switch Control.

Is this by design (and if so why) or a bug?

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [July 11, 2026, 9:18pm UTC](https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960/2 "2026-07-11T21:18:15Z")

</div>

Hey @logrunner,

Looks like you found a bug with the switch control. I’ll see if I can get a fix for it into the next build.

Cheers!

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [July 13, 2026, 5:02pm UTC](https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960/3 "2026-07-13T17:02:22Z")

</div>

Hey @logrunner

Can you test this with the latest build? [Elements 3.0 Beta Now Available](https://forums.realmacsoftware.com/t/elements-3-0-beta-now-available/56986)

Cheers  
Tom

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [July 13, 2026, 5:27pm UTC](https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960/4 "2026-07-13T17:27:36Z")

</div>

Hi @tpbradley

Yes that is working now - thanks for the quick fix. 👍

There is another pre-existing minor issue, in that a field label if it is too long, it can overwrite the blue dot and unlink icons:

 ![CleanShot 2026-07-13 at 18.22.27@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/3/33e65dcf10d7a3f6ee2fdc5a29ccb4016a23656f.png)

You can normally still click where you think they might be, so not a major issue. I suppose I could reduce the label size?

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [July 13, 2026, 7:26pm UTC](https://forums.realmacsoftware.com/t/globals-unlinking-a-switch-ui-control-in-a-custom-component/56960/5 "2026-07-13T19:26:08Z")

</div>

> [@logrunner](#):
>
> Yes that is working now - thanks for the quick fix. 👍

Excellent!

Yeah we know about the label length issue, it’s been there from the early days. I’ll see if I can do something but reducing the length is the easiest fix right now.

Cheers
