field.button-radio-group
A component with buttons that allow the user to choose between the specified values.
The minimum number of elements is one. Any type of data can be returned.
The size of the button is determined by the length of the text on it.
Component properties
Name | Type | Description |
---|---|---|
type * | "field.button-radio-group" | Set component type |
data * | writable | Data with values that will be processed or changed. |
label | string | Label above the component. |
hint | string | Hint text. |
options * | array | Array of information about the buttons. |
options[] | object | – |
options[].hint | string | Additional information. |
options[].label * | string | The text on the button. |
options[].value * | any | Returned value. |
validation | condition | Validation based on condition. |
Name | Type | Description |
---|---|---|
type * | "field.button-radio-group" | Set component type |
data * | writable | Data with values that will be processed or changed. |
label | string | Label above the component. |
hint | string | Hint text. |
options * | array | Array of information about the buttons. |
options[] | object | – |
options[].hint | string | Additional information. |
options[].label * | string | The text on the button. |
options[].value * | any | Returned value. |
validation | condition | Validation based on condition. |