@cfxlabsinc/b2b-services
    Preparing search index...

    A facet dimension shown in the selector's drilldown bar (below the search box): it narrows which options are searchable, layered on top of the free-text query for a 2D drilldown. Selected facet values are forwarded to the fetch action as facets[key], so the backing service must accept them.

    Two shapes:

    • options (default): a bounded checkbox list (status, bank, type, …).
    • search: a high-cardinality, single-select, paginated selector (customer, …) — reuses the same paging engine as the parent combobox.
    type ComboboxOptionsFacet = {
        key: string;
        kind?: "options";
        label: string;
        multiple?: boolean;
        options: readonly EntitySelectorSortOption[];
    }
    Index
    key: string

    Stable key sent to the fetch action (e.g. "status", "bank").

    kind?: "options"
    label: string

    Trigger label shown when nothing in this facet is selected.

    multiple?: boolean

    Allow more than one value at once. Default true.

    options: readonly EntitySelectorSortOption[]