# Tab component badge isn't updating consistently

**URL:** <https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709>\
**Category:** Report a Bug\
**Created:** [December 12, 2025, 4:21pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709 "2025-12-12T16:21:52Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 12, 2025, 4:21pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/1 "2025-12-12T16:21:52Z")

</div>

* * *

**Team ID:**

- In the Glide dashoard URL, e.g.  
`https://go.glideapps.com/o/`ss3WJJDqbqwlJwQjks9W

**App ID:**

- In the Glide builder URL, e.g.  
`https://go.glideapps.com/app/`zGpeIVLgXkn3CzKjfNyF`/layout`

**Description**

- In a detail screen for viewing a job, I have a tabs component and 4 of the tabs have numeric badges. The badge on one of the tabs has always been correct, and I have been able to troubleshoot the badges on two of the tabs. On one tab, the badge is still “sticky.” In other words, changing the job that is viewed will sometimes display an “old” badge. For example, if the current job has a correct badge number of 0, the data table displays 0, but the badge shows a different number.

**How to replicate**

- Open the app in the editor, or in a published version on a phone or computer, or in an incognito browser window, or after clearing the cache (I’ve produced this behavior in all the ways). Open and close various jobs and observe the badge number until one is found that doesn’t match. Usually within 3-5 jobs there will be a mismatch. Check the underlying data table to confirm the badge doesn’t match the column value.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 12, 2025, 8:19pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/2 "2025-12-12T20:19:33Z")

</div>

Do you have she screenshots to better understand what you are seeing and how you have everything set up?

---

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 12, 2025, 8:42pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/3 "2025-12-12T20:42:12Z")

</div>

Sure -  
Here’s the tab component with badges

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/2/62d653ec50a43f9461274bb38d8814c7f6f3bc04.png)

Here’s the badge setup

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/b/cbdcdb27490a6dc640122c35dec35cf268aa6a38.png)

And here is the rollup column that is supposed to be feeding that badge _at the same time that the badge is displaying 1_

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/9/e96cd72284c73eefa4fbe1a1bb4fb78bc522c27f.png)

The relation column to the left of the rollup is the source of the count

The screen is the detail screen of a single-row helper table. So there are a lot of lookups. But I tried to re-create any computed columns in the helper table that would have been more than a single layer of lookup, if that makes sense.

---

<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:** [December 12, 2025, 9:32pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/4 "2025-12-12T21:32:02Z")

</div>

Asking the obvious question, just to get it out of the way - do any of the tables involved have Row Owners applied?

---

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 12, 2025, 10:05pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/5 "2025-12-12T22:05:53Z")

</div>

Good question - no, there aren’t any Row Owners. App is only used within our business and there’s no need for that level of security.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 12, 2025, 11:12pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/6 "2025-12-12T23:12:38Z")

</div>

Do you find that it’s always related to having a zero for a count? Sounds suspiciously similar but slightly different to this thread. Not sure what came if that one.

> [@Showing a \`0\` value in a Tab → Badge](https://community.glideapps.com/t/showing-a-0-value-in-a-tab-badge/85184):
>
> Hey fellow Gliders! Faced with a a problem that I can’t seem to solve. Trying to display a 0 value in a Tab Container –\> Badge. Nothing I try works. Math column, template column, javascript column…nothing. Ideas?

---

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 12, 2025, 11:45pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/7 "2025-12-12T23:45:12Z")

</div>

Interesting… it does appear to be related. While I don’t want to display a zero, and zero doesn’t show when the tags are empty, it does seem to be that a zero-tag job is what won’t display properly **after any job with a non-zero tag count has been viewed**.

If the first job I view has no tags, it looks like this

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/e/ce1584196b09220adc0039e20bbc27d3af3a35f9.png)

As soon as another job is viewed, a zero-tag job will show the badge for whatever the last non-zero job was. And it’s VERY persistent, even in the data table, which is kind of a second issue. Here are the two columns again, the relation and the rollup that is counting it, when the glitch is going on.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/7/a7e01c9fa6ba951b99131af4d27cb67c4b2e7f49.png)

And here’s what the columns look like when the job screen is behaving for a 1-tag job

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a0a77bd685655ceed35e32c6f6b6b15227e3851c.png)

And for the record, I just edited the original post to include clearing the cache in all the things I’ve tried, yet I can always reproduce the problem.

---

<div class="post-metadata">

**Author:** ![NFNHello](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nfnhello/32/3371_2.png) [@NFNHello](https://community.glideapps.com/u/NFNHello)\
**Post date:** [December 13, 2025, 2:38am UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/8 "2025-12-13T02:38:33Z")

</div>

Is it possible that you have two similarly named columns? Perhaps one on a different table?

---

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 13, 2025, 3:19am UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/9 "2025-12-13T03:19:56Z")

</div>

Nope - here I’ll edit the name to something unambiguous 😉

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/d/3d24414084c3aa8e9c07550fbf1071e684fab64e.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/c/2c8dcf3927510e8c2b8a241666b47b86d1b14215.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/4/c4d37e8d2153affedc8c24882aca66ecec15d760.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 13, 2025, 2:06pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/10 "2025-12-13T14:06:55Z")

</div>

Interesting that it’s happening in the table as well. I thought it was maybe isolated to the badge only. I feel like this is definitely a bug that should be reported to support. There seems to be some code that is not executing when a value is zero or contains zero, so both the badge and rollup end up holding on to a previous value. @Robert_Petitto did you ever get any feedback on your issue?

As a workaround, try creating an IF column that returns the roll-up column value if the relation is not empty, else return 0. See if that helps at all.

---

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 13, 2025, 3:22pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/11 "2025-12-13T15:22:29Z")

</div>

I tried adding an if-then with the condition of the relation not empty and the relation empty (with the appropriate else values), and neither solved it.

So for whatever reason, the badge, the rollup AND the relation hold on to the previous value. However, sometimes the data table will be correct when the badge is wrong, and other times the data table will match the incorrect badge. I haven’t found any reliable way to hit the reset button and get it to refresh manually.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [December 13, 2025, 4:23pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/12 "2025-12-13T16:23:24Z")

</div>

No…no feedback yet. I used an if then else column to display either the non-zero value or a `—` if zero

---

<div class="post-metadata">

**Author:** ![HeartwoodTreeCo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/heartwoodtreeco/32/8150_2.png) [@HeartwoodTreeCo](https://community.glideapps.com/u/HeartwoodTreeCo)\
**Post date:** [December 18, 2025, 3:29pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/13 "2025-12-18T15:29:39Z")

</div>

No progress on Glide fixing the bug. My workaround is to add a user-specific number column for the count of tags, manage all the ways the number can change through workflows to keep that number correct, and use that for the tab badge.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [June 16, 2026, 3:29pm UTC](https://community.glideapps.com/t/tab-component-badge-isnt-updating-consistently/85709/14 "2026-06-16T15:29:49Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
