Black Lives Matter. Please consider donating to Black Girls Code today.

Is there a way to log user behavior as they select Dropdown or Radio items?

So far, Dash documentation provides a way to print out html.Div outputs such as:

    Output('hover-data', 'children'),
    [Input('startup-scatter-graphic', 'hoverData')])
def display_hover_data(hoverData):
    return json.dumps(hoverData, indent=2)

Is there a way to return / save dcc.Dropdown or dcc.RadioItems?


I’m not sure what you mean here. You can return a dcc.Dropdown for callbacks that have an output with children.

I recommend searching through the forum for children for some more examples: