Kryssruta
- Komponent
-
FCheckboxGroup
,FCheckboxField
- Status
-
Deprekerad
Innehåll
Komponenterna FCheckboxGroup
och FCheckboxGroupField
är deprekerade, se migreringsguide.
API
FCheckboxGroup
Name | Description | Type | Required | Default |
---|---|---|---|---|
id | The id for the fieldset id attribute. | string | false | () => ElementIdService.generateElementId() |
name | The name of the checkbox group. | string | true | ‐ |
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 | Slot for main content, usually checkboxes. | ‐ |
FCheckboxGroupField
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 | anyType[] |
update:modelValue | V-model event. | <anonymous>: anyType | anyType[] |
Name | Description | Bindings |
---|---|---|
default | Slot for label content. | ‐ |
details | Slot for extended label, should only contain short text | height |