# Button group colours stopped working?

**URL:** https://discourse.nodered.org/t/button-group-colours-stopped-working/92358
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [13 October 2024 11:19 UTC](https://discourse.nodered.org/t/button-group-colours-stopped-working/92358 "2024-10-13T11:19:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [13 October 2024 11:19 UTC](https://discourse.nodered.org/t/button-group-colours-stopped-working/92358/1 "2024-10-13T11:19:39Z")

</div>

I'm pretty sure that the custom colour option for button groups used to work, I even posted a screen capture in a [forum post](https://discourse.nodered.org/t/db2-vue-separate-component/92186/7)

But now I can't get it to work on dashboard MKII v1.16 or 1.18

These options

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/2/b27001ce53ee0705431450fd43286ab43fd0d381.png)

result in this  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/2/22668443394947356103275e7d6a5111e20efa6b.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [13 October 2024 13:30 UTC](https://discourse.nodered.org/t/button-group-colours-stopped-working/92358/2 "2024-10-13T13:30:06Z")

</div>

Can you raise an issue with small flow that demonstrates this please.

If it turns out to be a bug, I will make sure we add automated "End to End" tests to prevent further regression.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [13 October 2024 14:29 UTC](https://discourse.nodered.org/t/button-group-colours-stopped-working/92358/3 "2024-10-13T14:29:04Z")

</div>

OK well after going a bit deeper into this (ie actually clicking on a button) I see that once clicked, a button in the group acquires class `v-btn--active` and the background color specified in the config.

So all buttons are white until one of them is clicked, then it, in radio button style, gets coloured.

It's clearly not a bug but a design choice.

Thanks @Steve-Mcl

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 November 2024 14:29 UTC](https://discourse.nodered.org/t/button-group-colours-stopped-working/92358/4 "2024-11-12T14:29:17Z")

</div>

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