# Radio Item functionality changed in most recent dash version?

**URL:** https://community.plotly.com/t/radio-item-functionality-changed-in-most-recent-dash-version/23264
**Category:** Dash Python
**Created:** [May 9, 2019, 11:50am UTC](https://community.plotly.com/t/radio-item-functionality-changed-in-most-recent-dash-version/23264 "2019-05-09T11:50:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![OliverBrace](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/oliverbrace/32/4039_2.png) [@OliverBrace](https://community.plotly.com/u/OliverBrace)
#### Post date: [May 9, 2019, 11:50am UTC](https://community.plotly.com/t/radio-item-functionality-changed-in-most-recent-dash-version/23264/1 "2019-05-09T11:50:06Z")

</div>

I think there has been a change in the functionality of radio items in a recent dash update.

originally the following code worked fine

```
dcc.RadioItems(
    id = "Comb_Hist",
    options=[
        {"label": "Separate Histograms", "value": False},
        {"label": "Combine Histograms", "value": True},
    ],
    value=False,
    className = "RadioItems--horizontal"
),

```

However in the latest version of dash I get the following error code:

```
Invalid argument `options[0].value` passed into RadioItems with ID "Comb_Hist".

```

As well as:

```
dcc.RadioItems(
    id = "Type_Reg",
    options=[
        {"label": "Linear", "value": 1},
        {"label": "Quadratic", "value": 2},
    ],
    value=1,
    className = "RadioItems--horizontal"
),

```

Which generates error:

```
Invalid argument `value` passed into RadioItems with ID "Type_Reg".
Expected `string`.
Was supplied type `number`.
Value provided: 1

```

However my radio item that has a string as its value works fine. Has this been changed in a recent update, that radio items now only accepts strings.

Thank for the Help
