Is it possible to make two sets of identical checkboxes? So if I select option 1 in one set one, set two’s option 1 is also selected, and vice versa. A very simple mirrored or duplicated element.
dcc.Checklist(id='check_1',
options=['New York City', 'Montréal', 'San Francisco'],
value=[]
),
dcc.Checklist(id='check_2',
options=['New York City', 'Montréal', 'San Francisco'],
value=[]
),
In this callback:
@app.callback(
Output('check_1', 'value'),
Input('check_2', 'value'),
)
def feature_summary_plot_control(check_2):
return check_2
@app.callback(
Output('check_2', 'value'),
Input('check_1', 'value'),
)
def feature_summary_plot_control(check_1):
return check_1
I got an error about Dependency Cycle Found
. Having one callback was fine, however. Is there perhaps an easier approach to this problem?