Radioknapp
- Komponent
-
FRadioGroup
,FRadioField
- Status
-
Deprekerad
Innehåll
Komponenterna FRadioGroup
och FRadioGroupField
är deprekerade, se migreringsguide.
API
FRadioGroup
Name | Description | Type | Required | Default |
---|---|---|---|---|
id | The id for the fieldset id attribute. | string | false | () => ElementIdService.generateElementId() |
name | The name of the radio group. | string | true | ‐ |
isHorizontal | If radio buttons should be aligned horizontally. | boolean | false | ‐ |
Name | Description | Bindings |
---|---|---|
label | Slot for label content. This slot is required. | ‐ |
tooltip | Slot for tooltip. | ‐ |
description | Optional slot for description. See FLabel for details. | descriptionClass |
error-message | Slot for displaying single or several error messages. | ‐ |
default | ‐ | indentClass |
FRadioGroupField
Name | Description | Type | Required | Default |
---|---|---|---|---|
disabled | Set to | boolean | false | false |
id | The id for the input id attribute. | string | false | () => ElementIdService.generateElementId() |
v-model | The value for the input checked attribute. | anyType | false | ‐ |
value | The value for the input. | anyType | true | ‐ |
Name | Description | Properties |
---|---|---|
change | Vue2 v-model event. | <anonymous>: anyType |
update:modelValue | V-model event. | <anonymous>: anyType |
Name | Description | Bindings |
---|---|---|
default | Slot for label content. | ‐ |
details | Slot for details, should only contain short text | height |