PickList
Pill-style multi-select; selected items show a check mark.
Usage
已选:vue
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
| modelValue | (string | number)[] | — | v-model selected values (required) |
| options | { value: string | number; label: string; disabled?: boolean }[] | — | options (required) |
| testPrefix | string | — | emits data-test="${testPrefix}-${value}" per pill for test targeting |
Events
| Name | Payload | Description |
|---|---|---|
| update:modelValue | (v: (string | number)[]) | on toggle |
Slots
| Name | Description |
|---|---|
| empty | placeholder when options is empty |