# Dcc.Dropdown boolen values

**URL:** <https://community.plotly.com/t/dcc-dropdown-boolen-values/68230>\
**Category:** Dash Python\
**Created:** [September 23, 2022, 9:44am UTC](https://community.plotly.com/t/dcc-dropdown-boolen-values/68230 "2022-09-23T09:44:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaadKhan](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/saadkhan/32/20876_2.png) [@SaadKhan](https://community.plotly.com/u/SaadKhan)\
**Post date:** [September 23, 2022, 9:44am UTC](https://community.plotly.com/t/dcc-dropdown-boolen-values/68230/1 "2022-09-23T09:44:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [September 23, 2022, 10:49am UTC](https://community.plotly.com/t/dcc-dropdown-boolen-values/68230/2 "2022-09-23T10:49:09Z")

</div>

Hi,

you can, the error has to refer to something else.

```python
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)

```

---

<div class="post-metadata">

**Author:** ![SaadKhan](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/saadkhan/32/20876_2.png) [@SaadKhan](https://community.plotly.com/u/SaadKhan)\
**Post date:** [September 23, 2022, 11:01am UTC](https://community.plotly.com/t/dcc-dropdown-boolen-values/68230/3 "2022-09-23T11:01:07Z")

</div>

again the same error  
my Input Outputs are imported from dash.dependencies, not directly from dash

---

<div class="post-metadata">

**Author:** ![SaadKhan](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/saadkhan/32/20876_2.png) [@SaadKhan](https://community.plotly.com/u/SaadKhan)\
**Post date:** [September 23, 2022, 1:57pm UTC](https://community.plotly.com/t/dcc-dropdown-boolen-values/68230/4 "2022-09-23T13:57:56Z")

</div>

I am unable to solve this issue and I have one another issue too
