dcc.Dropdown(id=‘auto-arima-seasonal’,
options=[{‘label’: ‘True’, ‘value’: True},
{‘label’: ‘False’, ‘value’: False}, ],
value=False),
Invalid argument options[0].value
passed into Dropdown with ID “auto-arima-stationary”.
I want to return boolean True/False from it
AIMPED
2
Hi,
you can, the error has to refer to something else.
from dash import Dash, html, dcc, Input, Output
app = Dash(__name__)
app.layout = html.Div([
dcc.Dropdown(
id='auto-arima-seasonal',
options=[
{'label': 'True', 'value': True},
{'label': 'False', 'value': False}
],
value=False
),
html.Div(
id='dump'
)
])
@app.callback(
Output('dump', 'children'),
Input('auto-arima-seasonal', 'value')
)
def update(val):
return str(val)
if __name__ == '__main__':
app.run_server(debug=True)
again the same error
my Input Outputs are imported from dash.dependencies, not directly from dash
I am unable to solve this issue and I have one another issue too