Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
ComboboxSearchProps
Props for the standard host-owned searchable list selector.
Import
import type { ComboboxSearchProps } from "@dartwic/interface-sdk/ui";Declaration
export interface ComboboxSearchProps extends HostComponentProps {
items: ComboboxSearchItem[];
initialValue?: string;
placeholder?: string;
commandSearchPlaceholder?: string;
commandSearchEmptyPlaceholder?: string;
overrideValue?: HostNode;
onSelect?: (value: string) => void;
unSelectable?: boolean;
popoverContentClassName?: string;
}Members
| Name | Type | Requirement | Description |
|---|---|---|---|
items | ComboboxSearchItem[] | Required | |
initialValue | string | Optional | |
placeholder | string | Optional | |
commandSearchPlaceholder | string | Optional | |
commandSearchEmptyPlaceholder | string | Optional | |
overrideValue | HostNode | Optional | |
onSelect | (value: string) => void | Optional | |
unSelectable | boolean | Optional | |
popoverContentClassName | string | Optional |