Hello Dash community,
after the discussion here I ran into the following problem:
I updated my dash-core-components to the newest version. It seems like from version 0.10.0 upwards there is a new behaviour handling inputs and outputs in app callbacks.
Until version 0.10.0 I was able to store intermediate results into a hidden div and use this div as an input to multiple other callbacks. Each time the value of the intermediate div changed, the corresponding app callback was triggered.
Now this isn’t working any more. The result can still be stored into a hidden div but this does not trigger the next callback.
This was working before, but now it doesn’t (some-value-ui-state is a div):
@app.callback( Output('some-value-ui-state', 'children'), [Input('input-folder', 'value')]) def update_some_value_ui_state(folder): if folder: return some_function(folder) @app.callback( Output('input-factors', 'options'), [Input('some-value-ui-state', 'children')]) def update_input_factor_options(value): return do_something_else()
There is always an error in the bundle.js when the intermediate div tries to update the next output. The whole executioon of all callbacks on the page breaks at this point.
My whole layout is served within a function like in the example “Updates on Page Load” . I also use the location component to serve different pages on different URLs. Therefore the app is configured with
app.config.supress_callback_exceptions = True.
I am thankful for every hint!