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.