Radio NEW
Radio component accepts two minimum two v-model
and value
. value can either be string
or number
. you need to use the same v-model on RRadio
so only one can be selected at a time.
Default
Tag
If tag
prop is true RRadio
will look like a button.
Props
Name | Type | Required | Default | Description |
---|---|---|---|---|
modelValue | string, number | Yes | undefined | Value of the active radio. |
value | string, number | Yes | undefined | Value of input |
color | string | No | undefined | The primary color of the component. |
tag | boolean | No | undefined | If true radio will be like button. |
containerClass | string | No | undefined | Class(es) to be passed to container element of checkbox |
disabled | boolean | No | false | If true, disables the input element. |