RadioGroup
A group of radio buttons. The user chooses one option. Bind value with { "@path": "/x" } to read it. Give it a label.
Examples
Loading examples…
Props
| Prop | Type | Description |
|---|---|---|
checks | object[] | Validation rules. The control shows the first failed one |
value | string | Bind it with { "@path": "/x" } to read what the user entered |
options | string | object[] | Strings or { "value", "label", "description"? } |
label | string | The visible label of the field. Always set it |
name | string | |
direction | "row" | "col" | Default "row" |
variant | "list" | "pills" | "cards" | |
disabled | boolean | |
required | boolean |