Kryssruta

Komponent
FCheckboxGroup , FCheckboxField
Status
Deprekerad
Innehåll

Komponenterna FCheckboxGroup och FCheckboxGroupField är deprekerade, se migreringsguide.

API

FCheckboxGroup

Props
NameDescriptionTypeRequiredDefault

id

The id for the fieldset id attribute.
If the prop is not set the id will be generated.

string

false

() => ElementIdService.generateElementId()

name

The name of the checkbox group.

string

true

Slots
NameDescriptionBindings

label

Slot for label content. This slot is required.

tooltip

Slot for tooltip.

description

Optional slot for description. See FLabel for details.

descriptionClass
discreteDescriptionClass

error-message

Slot for displaying single or several error messages.

default

Slot for main content, usually checkboxes.

FCheckboxGroupField

Props
NameDescriptionTypeRequiredDefault

disabled

Set to true, empty string "" or string "disabled" to disable this input field.

boolean

false

false

id

The id for the input id attribute.
The id for the label for attribute.
If the prop is not set a random value will be generated.

string

false

() => ElementIdService.generateElementId()

v-model

The value for the input checked attribute.

anyType

false

value

The value for the input.

anyType

true

Events
NameDescriptionProperties

change

Vue2 v-model event.

<anonymous>: anyType | anyType[]

update:modelValue

V-model event.

<anonymous>: anyType | anyType[]

Slots
NameDescriptionBindings

default

Slot for label content.

details

Slot for extended label, should only contain short text

height

Esc för att stänga Pil upp/ner för att navigera Enter för att välja