Multiselect Input API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
items | array | [] | Options displayed as selectable items. Each item has a content string and optional status and icon fields. |
disabled | boolean | false | Disables the component. |
readonly | boolean | false | Sets the read-only state. The component can still be opened. |
invalid | boolean | false | Sets the invalid (error) state. |
placeholder | string | — | Placeholder text shown when no items are selected. |
label-merge-limit | integer | Infinity | Number of selected items above which they are merged into a single label. |
Events
| Event | Description | Returns | |
|---|---|---|---|
itemremove | Fires when an item is removed. | { detail: { item } } | |
clear | Fires when the clear button is clicked and all items are removed. | — | |
change | Fires when an item is removed or the clear button is clicked. | — | |
trigger | Fires when the input area is clicked (mouse or keyboard). | — | |