Appearance
FormMultiSelect
A combobox that keeps several values as removable chips.
ts
import { FormMultiSelect } from '@zairakai/vue-components/Form'Usage
vue
<FormMultiSelect />Example
vue
vue
<script setup>
import { ref } from 'vue'
const tags = ref(['vue'])
</script>
<template>
<FormMultiSelect
v-model="tags"
:options="['vue', 'svelte', 'solid', 'react']"
label="Frameworks"
/>
</template>Props
| Name | Type | Default | Description |
|---|---|---|---|
modelValue | array | [] |
Events
| Name | Description |
|---|---|
update:modelValue |
Slots
| Name | Description |
|---|---|
option |
See Theming for the class hooks and the data-* state of the components.