I’m editing the financial report template for my own purposes. In app.py they make a callback of the function overview.create_layout(app) and they describe this function as:
def create_layout(app):
return html.Div([
...
])
My question is the next. I want to use a callback for a dropdown filter but I don’t know where to put the @app.callback in the create_layout(app), if I have to put it inside. Everytime I run the code the dropdown does not filter by the callback condition
2 posts - 2 participants