dbc.RadioItems as ButtonGroup

I had previously implemented dbc.RadioItems as a ButtonGroup with a little css help from @tcbegley. After upgrading to Dash 2.0 (or could be BootStrap 5) using my previous CSS and the block listed in the example on ButtonGroup - dbc docs I still get the buttons as shown below. What is the CSS trick to remove them?

Hey @marketemp

It’s likely a Bootstrap 5 thing.

There’s an example on how to do this in the ButtonGroup docs. Hopefully that will give you what you need to update.

1 Like

Thanks Tom, I ran your demo by itself, there were no buttons, and I was able to identify the cause from there.

1 Like