Collecting dashboard ui(s) values

Hi

I have a dashboard with multiple dcc.dropdown(s). A total of 7 dropdowns. I need to collect the values selected in each drop down, put in a list and then process the list to print a long string (cancat of values) to a html.Label.

I am having hard time figuring out how to get all the ui(s) values to get passed on to the html.Label call back. I can only have one input?) or am I doing this wrong?

Thanks

Never mind … I got it figured out.

@app.callback(dash.dependencies.Output('my-list', 'children'),
[dash.dependencies.Input('dropdown1', 'value'),
 dash.dependencies.Input('dropdown2', 'value'),
 dash.dependencies.Input('dropdown3', 'value'),
 dash.dependencies.Input('dropdown4', 'value'),
 .
 .
 .
 ])

def update_qry_ebs1(*args):
arg_dict = dict(
my1 = args[0],
my2 = args[1],
my3 = args[2],
my4 = args[3],
.
.
.
)
return json.dumps(args, sort_keys=True,indent=4, separators=(’,’, ': '))