# Custom state of a specific button inside a repeating group

**URL:** <https://forum.bubble.io/t/custom-state-of-a-specific-button-inside-a-repeating-group/95664>\
**Category:** Need help\
**Created:** [June 6, 2020, 2:05am UTC](https://forum.bubble.io/t/custom-state-of-a-specific-button-inside-a-repeating-group/95664 "2020-06-06T02:05:57Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sudsy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sudsy/32/114637_2.png) [@sudsy](https://forum.bubble.io/u/sudsy)\
**Post date:** [June 6, 2020, 3:11am UTC](https://forum.bubble.io/t/custom-state-of-a-specific-button-inside-a-repeating-group/95664/6 "2020-06-06T03:11:05Z")

</div>

> [@khaledkherallah](#):
>
> See in this picture there’s is 2 tabs because there’s only 2 entries  
> But when I delete an entry  
> As you see the number of tabs has decreased

If you’re trying to change the appearance of the “currently selected” button (which resides inside a RG), then the example I provided should help.

It doesn’t matter how many buttons are in the group or if the number of buttons (RG cells) changes. When a button is clicked, just set a custom state to that clicked button. Then, configure a **Conditional** (on the so-named tab of the **Properties** panel) to alter the appearance of the currently selected button.

**EDIT** : And if your button represents a data type called “ **Calls** ”, then make your custom state of that type, and when a button is clicked, set the custom state to the “ **Call** ” that was just clicked.

---

_[View the full topic](https://forum.bubble.io/t/custom-state-of-a-specific-button-inside-a-repeating-group/95664)._
