Radio
Examples
Basic
Button Style
Style Option
inline(default) or stacked
disabled
API
Props
Radio Group
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| v-model | Boolean, Number, String, Object | no | ||
| disabled | Boolean | false | no | |
| stacked | Boolean | false | no | |
| buttonStyle | Boolean | false | no | |
| color | String | 'primary' | no | |
| size | String | '' | no | default, large(lg), small(sm) |
| options | Array | [] | no | |
| valueField | String | 'value' | no | value of radio |
| labelField | String | 'label' | no | label of radio |
Radio
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| v-model | Boolean, Number, String, Object | no | ||
| id | String | no | ||
| checkedValue | Boolean, Number, String, Array, Object | true | no | |
| disabled | Boolean | false | no |
Events
| Event Name | Parameters | Description |
|---|---|---|
| change | - | triggers when radio button clicked |