Appearance
Function: RadioListField()
ts
function RadioListField(props: UiRadioListFieldProps): Block;Defined in: src/renderer/blocks/index.ts:789
Radio button list field.
Parameters
| Parameter | Type |
|---|---|
props | UiRadioListFieldProps |
Returns
Example
ts
RadioListField({
name: 'preferredContact',
label: 'Preferred contact method',
items: [
{value: 'email', label: 'Email'},
{value: 'phone', label: 'Phone'},
{value: 'mail', label: 'Mail'},
],
defaultValue: 'email',
required: true,
});