You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a bit confused on how to properly chain callbacks so that I would be able to access the values of an element outside the original input callback.
Example:
@app.callback(
output=[dl.Output(serial_number_options,"options")],
args=dict(
test_station_id=dl.Input(test_id_options),
),
template=tpl
)def func():
return some list of values to store in serial_number options
@app.callback(
output=[dl.Output(ecu_type_options,"options")],
args=dict(
serial_number=dl.Input(serial_number_options),
),
template=tpl
)def func2():
read in the selected value of serial_number_options drop down
return some list of values to store in ecu_type_options
Because each time I run something like this I just get the following error:
"dash.exceptions.DuplicateIdError: Duplicate component id found in the initial layout: serial"
The text was updated successfully, but these errors were encountered:
Hey,
I am a bit confused on how to properly chain callbacks so that I would be able to access the values of an element outside the original input callback.
Example:
Because each time I run something like this I just get the following error:
"dash.exceptions.DuplicateIdError: Duplicate component id found in the initial layout:
serial
"The text was updated successfully, but these errors were encountered: