Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Active Property in dbc.Button, why do not change when the button is clicked?

$
0
0

active ( boolean ; optional): Whether button is in active state. Default: False.

I was wondering to use this property instead of n_clicks to simplify the callback, if the active is False then no_update, if it is True then execute the callback, but I notice that when I clicked the button the active property do not change althought the button change its appearance (it looks active :thinking:),

Before clicking:

image

After clicked:
image1

Property status:
image2

@tcbegley is this a bug?

Thanks :smiley:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles