Appearance
jio-radio
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| id | An ID must be supplied | string | - | |
| name | The ID of the radio collection to which this radio belongs | string | - | |
| value | The value associated with this radio | string | - | |
| required | Whether the radio must be selected@values true, false | boolean | - | |
| isInvalid | Whether validation determined the radio state is invalid@values true, false | boolean | - | |
| inline | Whether the radio should render inline@values true, false | boolean | - | |
| disabled | Whether the radio is disabled@values true, false | boolean | - | |
| theme | The desired palette@values "primary", "secondary" | Theme | - | "primary" |
Slots
| Name | Description | Bindings |
|---|---|---|
| default |
General
This component is based on the Bootstrap radio.
Code examples
Two simple radios.
Radio 0 Radio 1 Radio 0 Radio 1