# Rating stars disappear if the user clicks the same star that is already selected

**URL:** <https://community.glideapps.com/t/rating-stars-disappear-if-the-user-clicks-the-same-star-that-is-already-selected/81309>\
**Category:** Ask for Help\
**Created:** [April 12, 2025, 9:27pm UTC](https://community.glideapps.com/t/rating-stars-disappear-if-the-user-clicks-the-same-star-that-is-already-selected/81309 "2025-04-12T21:27:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chloe\_Mason](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/chloe_mason/32/87120_2.png) [@Chloe\_Mason](https://community.glideapps.com/u/Chloe_Mason)\
**Post date:** [April 12, 2025, 9:28pm UTC](https://community.glideapps.com/t/rating-stars-disappear-if-the-user-clicks-the-same-star-that-is-already-selected/81309/1 "2025-04-12T21:28:00Z")

</div>

I have a 3-star rating system set up that works great except for the fact that if you click on the star that is already selected, it clears the value in the table. Then, since the value is empty, the star rating no longer shows up. Is there any way to work around for this? Is there something I am missing?

---

<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:** [April 13, 2025, 8:11am UTC](https://community.glideapps.com/t/rating-stars-disappear-if-the-user-clicks-the-same-star-that-is-already-selected/81309/2 "2025-04-13T08:11:00Z")

</div>

~~Use an if-then-else column to set some sort of default value when it is empty, then display that.~~

eg:

~~- if rating column is empty then “Not rated”
~~-~~ else rating column~~

Actually, I think I misunderstood your question. You are referring to the rating component, yes?  
I cannot replicate the behaviour you described. That is, the component is _always_ visible, even when the rating column is empty.

Can you show me how you have it configured, and the column it saves to?

---

<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:** [April 13, 2025, 10:33am UTC](https://community.glideapps.com/t/rating-stars-disappear-if-the-user-clicks-the-same-star-that-is-already-selected/81309/3 "2025-04-13T10:33:59Z")

</div>

I think that is somewhat the expected behavior, or else you have no way to clear your rating? Or I think you expect that if you rated 3 stars, and the 3rd star is clicked again, you want it to stay as is?

---

<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:** [April 13, 2025, 10:34am UTC](https://community.glideapps.com/t/rating-stars-disappear-if-the-user-clicks-the-same-star-that-is-already-selected/81309/4 "2025-04-13T10:34:22Z")

</div>

Please try my AI component here:

> **[Rating Component - Glide custom component](https://components.glide.info/share/commit::56661901-cae8-809e-0118-3fb3af8552a8)**
>
> Custom component created in Glide
