plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
21.54k stars 2.08k forks source link

[BUG] dcc.RadioItems checked state not updated #2963

Closed ihor-lazariev closed 3 months ago

ihor-lazariev commented 3 months ago

Thank you so much for helping improve the quality of Dash!

We do our best to catch bugs during the release process, but we rely on your help to find the ones that slip through.

Describe your context Please provide us your environment, so we can easily reproduce the issue.

Describe the bug

dcc.RadioItems elements checked state is not updated after clicking them.

Expected behavior

Clicked radio-button () has "checked" state

Screenshots

Screenshot 2024-08-23 at 13 12 18

Note: "c" option is selected, "d" is default.

ihor-lazariev commented 3 months ago

found a comment saying it's known issue. workaround is to use dbc.RadioItems: https://github.com/plotly/dash/issues/1187#issuecomment-615926864