Radio Options
Radio buttons: all options visible at once, exactly one chosen.
Settings:
| Setting | What it does |
|---|---|
| Options | A static list, or read from a model — as in Select |
| Columns | How many options fit across, 3 by default |
| Default | Which option a new record starts on |
| Required | An empty value blocks saving |
The stored value is one option's value, the same as a single-choice Select — the two differ only in how they are drawn.
Output:
html
<div class="layout layout--{$layout}">Radio up to about seven options, a dropdown past that
Radio buttons pay for themselves when seeing every option at once helps the choice. A long list only eats the form; that is what Select is for.