# ComboboxMultipleProps (@salmonui/dropdowns/combobox)

> The ComboboxMultipleProps interface of @salmonui/dropdowns/combobox.

Canonical: https://salmonui.dev/docs/reference/dropdowns/combobox/ComboboxMultipleProps

```ts
import type { ComboboxMultipleProps } from '@salmonui/dropdowns/combobox';
```

Entry index: https://salmonui.dev/docs/reference/dropdowns/combobox (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/dropdowns/combobox.md).

## Reference

Kind: interface

```ts
interface ComboboxMultipleProps<Item> extends ComboboxOwnProps<Item> {
    readonly multiple: true;
    readonly value?: readonly DropdownValue[];
    readonly defaultValue?: readonly DropdownValue[];
    readonly onValueChange?: (value: readonly DropdownValue[], event: DropdownValueChangeEvent<Item>) => void;
}
```

Members (82):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `multiple` | `readonly multiple: true;` |  |  |
| `value` | `readonly value?: readonly DropdownValue[];` | optional |  |
| `defaultValue` | `readonly defaultValue?: readonly DropdownValue[];` | optional |  |
| `onValueChange` | `readonly onValueChange?: (value: readonly DropdownValue[], event: DropdownValueChangeEvent<Item>) => void;` | optional |  |
| `data` | `data: readonly Item[] \| RemoteSource<Item>;` | inherited | Items (objects or primitives) or an `@salmonui/data` source. |
| `getItemValue` | `getItemValue?: ((item: Item) => CollectionKey);` | optional, inherited |  |
| `getItemLabel` | `getItemLabel?: ((item: Item) => string);` | optional, inherited |  |
| `getItemGroup` | `getItemGroup?: ((item: Item) => string \| null \| undefined);` | optional, inherited |  |
| `getItemIcon` | `getItemIcon?: ((item: Item) => ReactNode);` | optional, inherited |  |
| `isItemDisabled` | `isItemDisabled?: ((item: Item) => boolean);` | optional, inherited |  |
| `selectedItems` | `selectedItems?: readonly Item[];` | optional, inherited | Items of the current value that are not in loaded `data` (remote data, server labels). |
| `open` | `open?: boolean;` | optional, inherited |  |
| `defaultOpen` | `defaultOpen?: boolean;` | optional, inherited |  |
| `onOpenChange` | `onOpenChange?: ((open: boolean, event: DropdownOpenChangeEvent) => void);` | optional, inherited |  |
| `searchOperator` | `searchOperator?: SearchOperator<Item>;` | optional, inherited |  |
| `matchCase` | `matchCase?: boolean;` | optional, inherited | Case-sensitive search. Default `false`. |
| `ignoreAccents` | `ignoreAccents?: boolean;` | optional, inherited | Diacritics-insensitive search. Default `false`. |
| `debounce` | `debounce?: number;` | optional, inherited | Remote search delay in ms (local data filters on every keystroke). Default 300. |
| `minSearchLength` | `minSearchLength?: number;` | optional, inherited |  |
| `maxResults` | `maxResults?: number;` | optional, inherited |  |
| `searchFields` | `searchFields?: readonly string[];` | optional, inherited | Fields searched by a remote source (`query.search.columnIds`); default every field. |
| `query` | `query?: RemoteQuery;` | optional, inherited | Base query merged into every remote read. |
| `virtualization` | `virtualization?: boolean;` | optional, inherited | Windowed list; `true` by default above 100 items. |
| `maxVisibleItems` | `maxVisibleItems?: number;` | optional, inherited | Popup height in items. Default 8. |
| `popupMode` | `popupMode?: "auto" \| "popover" \| "sheet";` | optional, inherited | `'popover'` (default) anchors the popup; `'sheet'` is a full-screen dialog; `'auto'` picks the sheet on coarse-pointer phones at open time. |
| `clearable` | `clearable?: boolean;` | optional, inherited |  |
| `placeholder` | `placeholder?: string;` | optional, inherited |  |
| `disabled` | `disabled?: boolean;` | optional, inherited |  |
| `readOnly` | `readOnly?: boolean;` | optional, inherited |  |
| `name` | `name?: string;` | optional, inherited |  |
| `required` | `required?: boolean;` | optional, inherited |  |
| `form` | `form?: string;` | optional, inherited |  |
| `id` | `id?: string;` | optional, inherited |  |
| `autoFocus` | `autoFocus?: boolean;` | optional, inherited |  |
| `indicator` | `indicator?: "check" \| "checkbox";` | optional, inherited |  |
| `showSelectAll` | `showSelectAll?: boolean;` | optional, inherited |  |
| `maxSelected` | `maxSelected?: number;` | optional, inherited |  |
| `groupSelection` | `groupSelection?: boolean;` | optional, inherited |  |
| `hideSelected` | `hideSelected?: boolean;` | optional, inherited |  |
| `closeOnSelect` | `closeOnSelect?: boolean;` | optional, inherited |  |
| `maxVisibleValues` | `maxVisibleValues?: number;` | optional, inherited |  |
| `valueSeparator` | `valueSeparator?: string;` | optional, inherited | Separator of `valueDisplay="text"`; default `Intl.ListFormat` of `locale`. |
| `locale` | `locale?: string;` | optional, inherited | BCP 47 locale for list and plural formatting. Default `'en-US'` (identical on server and client). |
| `renderItem` | `renderItem?: ((props: DropdownItemRenderProps<Item>) => ReactNode);` | optional, inherited |  |
| `renderValue` | `renderValue?: ((props: { readonly items: readonly Item[]; readonly labels: readonly string[]; }) => ReactNode);` | optional, inherited |  |
| `renderChip` | `renderChip?: ((props: DropdownChipRenderProps<Item>) => ReactNode);` | optional, inherited |  |
| `renderGroupHeader` | `renderGroupHeader?: ((props: { readonly group: string; }) => ReactNode);` | optional, inherited |  |
| `renderEmpty` | `renderEmpty?: ((props: { readonly reason: "noData" \| "noMatch"; }) => ReactNode);` | optional, inherited |  |
| `renderError` | `renderError?: ((props: { readonly error: unknown; readonly retry: () => void; }) => ReactNode);` | optional, inherited |  |
| `renderLoading` | `renderLoading?: (() => ReactNode);` | optional, inherited |  |
| `popupHeader` | `popupHeader?: ReactNode;` | optional, inherited |  |
| `popupFooter` | `popupFooter?: ReactNode;` | optional, inherited |  |
| `getItemProps` | `getItemProps?: ((item: Item) => DropdownPartProps \| undefined);` | optional, inherited |  |
| `getChipProps` | `getChipProps?: ((item: Item) => DropdownPartProps \| undefined);` | optional, inherited |  |
| `highlightMatches` | `highlightMatches?: boolean;` | optional, inherited | Marks the matched characters with `<mark>`. |
| `loading` | `loading?: boolean;` | optional, inherited | Forces the loading state (set automatically while a remote read is pending). |
| `onLoadError` | `onLoadError?: ((error: unknown) => void);` | optional, inherited |  |
| `size` | `size?: "lg" \| "md" \| "sm";` | optional, inherited | Control size: `'sm'` 24px, `'md'` 32px (default), `'lg'` 40px tall. |
| `localeText` | `localeText?: Partial<DropdownLocaleText>;` | optional, inherited |  |
| `className` | `className?: string;` | optional, inherited |  |
| `style` | `style?: CSSProperties;` | optional, inherited |  |
| `classNames` | `classNames?: Partial<Record<DropdownPart, string>>;` | optional, inherited |  |
| `styles` | `styles?: Partial<Record<DropdownPart, CSSProperties>>;` | optional, inherited |  |
| `label` | `label?: ReactNode;` | optional, inherited | Visible label above the control; names it through `aria-labelledby` (an explicit `aria-labelledby` prop wins). |
| `description` | `description?: ReactNode;` | optional, inherited | Help text below the control, referenced by `aria-describedby`. |
| `errorMessage` | `errorMessage?: ReactNode;` | optional, inherited | Error text below the control, shown while `invalid`. |
| `invalid` | `invalid?: boolean;` | optional, inherited | Marks the control invalid: `aria-invalid`, `data-invalid` and the visible `errorMessage`. |
| `inputValue` | `inputValue?: string;` | optional, inherited | Text of the input (reactive); `onInputChange` reports every edit. |
| `defaultInputValue` | `defaultInputValue?: string;` | optional, inherited |  |
| `onInputChange` | `onInputChange?: ((text: string, event: ComboboxInputChangeEvent) => void);` | optional, inherited |  |
| `creatable` | `creatable?: boolean;` | optional, inherited | Committed text without a matching item becomes the value. Default `false`. |
| `onCreateItem` | `onCreateItem?: ((text: string) => Item \| null);` | optional, inherited | Builds the item for created text; `null` rejects it. Default: the text itself. |
| `autofill` | `autofill?: boolean;` | optional, inherited | Completes the first match inline (`aria-autocomplete="both"`). |
| `showTrigger` | `showTrigger?: boolean;` | optional, inherited | The dropdown button (not in the tab order). Default `true`. |
| `openOnClick` | `openOnClick?: boolean;` | optional, inherited | A click in the input opens the popup. Default `true`. |
| `commitOnBlur` | `commitOnBlur?: boolean;` | optional, inherited | Typed text is committed (created) when focus leaves. |
| `columns` | `columns?: readonly ComboboxColumn<Item>[];` | optional, inherited | Table popup (MultiColumn ComboBox): a lightweight `role="grid"`. |
| `rowHeight` | `rowHeight?: number;` | optional, inherited | Fixed row height of the `columns` popup in px. |
| `gridLines` | `gridLines?: "both" \| "default" \| "horizontal" \| "none" \| "vertical";` | optional, inherited |  |
| `striped` | `striped?: boolean;` | optional, inherited |  |
| `sorting` | `sorting?: boolean \| ComboboxSort;` | optional, inherited | Header sorting of the `columns` popup. Default `true`. |
| `ref` | `ref?: Ref<HTMLInputElement>;` | optional, inherited | The `<input role="combobox">`. |
