Black Lives Matter. Please consider donating to Black Girls Code today.
https://www.blackgirlscode.com

Daq Knob callback function doesn't match value and knob button graphical position

@app.callback ([Output(component_id='knob',component_property='value'),
                Output(component_id='knob',component_property='disabled')]

               [Input(component_id='boolean_switch',component_property='on'),])

def update(signal):
    if signal:
        return [0,False]
    else:
        return [5,True]

image

Hi,

When I update the knob via call back function, I am able to obtain new values, but as you can see from the image, the button doesn’t follow the value. The button of the knob always stays on the position where it was selected with mouse. How could i set it up, it would follow the value on update? I have set persistence to False, if this helps in anyway, but I am not sure it does, as well I haven’t noticted any property for this button in documention.

Hi @tomazmalika

It looks like this is a known issue: https://github.com/plotly/dash-daq/issues/11

Yes, it the same problem. Thank you for letting me know.