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

How to change the type of component dynamically?

$
0
0

I have an intricate selection drawer in my app and would like the type of selection components to update based on selected values. For example: If I have a dropdown with two options x and y, I would like a new dropdown to appear if I select x, and a new RadioItem to appear if I select y. Is there a way to dynamically update the type of a component in Dash?

I thought of having a html.Div() and then updating the children to either a dropdown or radioItem, but I haven’t had much luck. And advice on a solution would be appreciated.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles