# Switch's effect can't be undone?

**URL:** <https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965>\
**Category:** Ask for Help\
**Created:** [November 20, 2023, 11:12am UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965 "2023-11-20T11:12:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kai\_Morgan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kai_morgan/32/66681_2.png) [@Kai\_Morgan](https://community.glideapps.com/u/Kai_Morgan)\
**Post date:** [November 20, 2023, 11:12am UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/1 "2023-11-20T11:12:30Z")

</div>

I added a switch component to try out. It wasn’t what I needed so I deleted it, but the changes won’t go away.

Basically, I have a collection grouped by “type”. Now, the item affected by switch is in it’s own group and the text is wrapped strangely?

I tried undoing, resetting the data value, readding the switch to turn off. Nothing. Can anyone help?

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 20, 2023, 11:31am UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/2 "2023-11-20T11:31:53Z")

</div>

I’m not quite following, would you mind adding a couple of screen shots?

- Show the column in the Data Editor that the switch was writing to
- Show what the collection looks like in the layout
- Show how the collection is configured

---

<div class="post-metadata">

**Author:** ![Kai\_Morgan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kai_morgan/32/66681_2.png) [@Kai\_Morgan](https://community.glideapps.com/u/Kai_Morgan)\
**Post date:** [November 20, 2023, 12:15pm UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/3 "2023-11-20T12:15:03Z")

</div>

![SS for Support-1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/e/fefd80e4184ada6622b271f4808e8ef339bdf58d.jpeg)  
 ![SS for Support-2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/7/87fc6e0ced521776740737dc75b8b888740c58ea.png)

As you can see the top item is separated despite having the same “Type”, and the name wraps by the letter instead of by the word like the others.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 20, 2023, 12:23pm UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/4 "2023-11-20T12:23:44Z")

</div>

That’s interesting. Are you sure there isn’t an extra space in the Type somewhere in row 1?  
What happens if you copy the value from row 2 and paste it into row 1?

Where and how were you using the switch?

---

<div class="post-metadata">

**Author:** ![Kai\_Morgan](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kai_morgan/32/66681_2.png) [@Kai\_Morgan](https://community.glideapps.com/u/Kai_Morgan)\
**Post date:** [November 20, 2023, 12:42pm UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/5 "2023-11-20T12:42:50Z")

</div>

I tried that and nothing changed. But I just tried the opposite (copy row 1 to row 2) and that worked somehow? Did the same for the rest so grouping is fine now, but the text wrap is still off on that one item.

---

<div class="post-metadata">

**Author:** ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)\
**Post date:** [November 20, 2023, 12:50pm UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/6 "2023-11-20T12:50:20Z")

</div>

Not sure it will solve but what if you change the column type to something like number… save it… then back to text again.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [November 20, 2023, 1:00pm UTC](https://community.glideapps.com/t/switchs-effect-cant-be-undone/67965/7 "2023-11-20T13:00:41Z")

</div>

> [@Kai\_Morgan](#):
>
> I tried that and nothing changed. But I just tried the opposite (copy row 1 to row 2) and that worked somehow? Did the same for the rest so grouping is fine now, but the text wrap is still off on that one item.

Okay, I think you might have been bitten by a known issue with copy/paste. The issue is that sometimes when you copy and paste a value that includes a space, Glide inserts additional non-visible unicode characters. Which can break things like relations, filters and grouping.

Try typing the values out instead of pasting them.

For a more robust option, I’d recommend creating a separate “Types” table, add a RowID to that table, and insert the RowIDs instead of the Type names into the above table.
