Radio Input
<vox-radio-group> manages a set of <vox-radio> options: selection, arrow-key navigation, and the submitted form value.
html
<vox-radio-group label="Install method" name="method" value="pkg">
<vox-radio value="pkg">System packages</vox-radio>
<vox-radio value="gem">Ruby gem</vox-radio>
</vox-radio-group>API
<vox-radio-group>:
| Attribute | Type | Default | Description |
|---|---|---|---|
label | string | — | Group label |
name | string | — | Form field name |
value | string | '' | Selected radio's value |
note | string | — | Help text |
required / disabled | boolean | false | States |
<vox-radio>:
| Attribute | Type | Default | Description |
|---|---|---|---|
value | string | '' | Value this option represents |
disabled | boolean | false | Disable the option |