Why don’t sliders update when I select different data from a dropdown menu?
Normal dash items do and I don’t see anything wrong here…
dcc.Store(id = 'memory-output-slider'),
html.Div([
daq.Slider(
id = 'timelineSlider',
#min = 0,
#max = 100,
value = 30,
#marks = {'25': 'mark', '50': '50'},
disabled = True,
size = 1920,
color = {'default': '#C51426'}
)
], style = {'margin-top': '20px', 'margin-bottom': '20px'}),
@app.callback(Output('memory-output-slider', 'marks'),
[Input('my-dropdown', 'value')])
def timeline_slider(deal_ids_selected):
return timeline_process.timeline_slider(deal_ids_selected, timelineList)
@app.callback(
Output('timelineSlider', 'marks'),
[Input('memory-output-slider', 'marks')])
def route_slider(marks):
return timeline_process.route_slider(marks)