# Problem with Ionic Toggle

**URL:** <https://forum.bubble.io/t/problem-with-ionic-toggle/356348>\
**Category:** Need help\
**Created:** [January 21, 2025, 4:34am UTC](https://forum.bubble.io/t/problem-with-ionic-toggle/356348 "2025-01-21T04:34:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguel.galvao](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@miguel.galvao](https://forum.bubble.io/u/miguel.galvao)\
**Post date:** [January 21, 2025, 4:34am UTC](https://forum.bubble.io/t/problem-with-ionic-toggle/356348/1 "2025-01-21T04:34:57Z")

</div>

Hello everyone

I am facing a technical issue and would greatly appreciate your assistance. During the user account creation process, I want to implement a system where checking one box automatically unchecks the other.

However, I’ve noticed an issue: it only works if I repeatedly check the same button. In this case, the other button gets checked and unchecked as expected. But when I switch to the other button, nothing works anymore, as if the buttons lose their state (or memory). I then have to refresh the page for it to work again.

Thank you in advance for your expertise and valuable help.

 ![Capture d'écran 2025-01-20 232746](https://us1.discourse-cdn.com/bubble/original/3X/4/6/46a7072baab218575e1c1472168a63fa55b5811f.png)  
 ![Capture d'écran 2025-01-20 232744](https://us1.discourse-cdn.com/bubble/original/3X/1/3/132153801407dbf913de6d821b689c2597093447.png)  
 ![Capture d'écran 2025-01-20 232740](https://us1.discourse-cdn.com/bubble/original/3X/4/c/4c706fea3677f5e37812a97c27fde162aec81078.png)  
 ![Capture d'écran 2025-01-20 232736](https://us1.discourse-cdn.com/bubble/original/3X/6/7/67f436d118237f53a4cfabff179ddaacd00b926c.png)

---

<div class="post-metadata">

**Author:** ![esardila](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/esardila/32/177460_2.png) [@esardila](https://forum.bubble.io/u/esardila)\
**Post date:** [January 21, 2025, 9:55pm UTC](https://forum.bubble.io/t/problem-with-ionic-toggle/356348/2 "2025-01-21T21:55:45Z")

</div>

Hey!

Reset the container of the toggle you want to go back to the preset value, this should be enough. Just keep in mind to place each toggle in different groups to avoid resetting both at the same time.

---

<div class="post-metadata">

**Author:** ![miguel.galvao](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@miguel.galvao](https://forum.bubble.io/u/miguel.galvao)\
**Post date:** [January 21, 2025, 11:24pm UTC](https://forum.bubble.io/t/problem-with-ionic-toggle/356348/3 "2025-01-21T23:24:01Z")

</div>

Hello, thank you for your response, how do I reset the toggle container? sorry, I’m a newbie 😢

---

<div class="post-metadata">

**Author:** ![esardila](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/esardila/32/177460_2.png) [@esardila](https://forum.bubble.io/u/esardila)\
**Post date:** [January 22, 2025, 12:12am UTC](https://forum.bubble.io/t/problem-with-ionic-toggle/356348/4 "2025-01-22T00:12:11Z")

</div>

No worries!

You just need to add the event to the input:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/b/8b5a11810f838f1310643a7f5f35e83977a9c93a.png)

And add the action “Reset group/popup”

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/1/c16f95905042e5f8c728b02f29c81fb435637568.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [April 1, 2025, 4:35am UTC](https://forum.bubble.io/t/problem-with-ionic-toggle/356348/5 "2025-04-01T04:35:15Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
