BS4 Radio Button States

I am trying to use Bootstrap 4 Radio buttons with my app.
I’ve looked at the sample and the documents but can’t find a way to set the state of an item.
For example, i have 4 items and want to select item 2 using code.
Is there a way to easily do this?


My mistake, i was using the ‘value’ property wrong. All good.