<FormCheckGroup v-model="checks" :items="[Item]" type="checkbox" />
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
disabled | Disables the component | boolean | - | false |
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
switch | Display the checks as a switch by adding the form-switch class |
boolean | - | false |
items | The items to display in the group | Item[] | - | |
type | The type of the input | typeProp | 'checkbox'|'radio' |
|
modelValue | The model value | array|string|number|undefined | - | (props: {type: Type}) => props.type === 'checkbox' ? [] : undefined |
Event name | Properties | Description |
---|---|---|
update:modelValue | value any - The new value |
Fired when the model value is updated |