Skip to content

TriStateMultiSelect

API reference and demos for TriStateMultiSelect.

Source

import { TriStateMultiSelect } from "@flanksource/clicky-ui/components";
Default · Open in Storybook
Lookup Icons Only · Open in Storybook
Lookup Icons With Placeholder · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
allowCustomValue boolean — Allow committing free-typed / `*`-wildcard values absent from `options`.
className string — —
description string — —
disabled boolean — —
grow boolean true Fill the available width (form field) vs. shrink to content. Default true.
icon LabelIconSpec — —
label* string — Trigger label and popover heading.
onChange* (…) => void — —
onSearch (…) => … — —
options* MultiSelectOption[] — Chip options. When `truncated`, this is only the head set.
total number — —
truncated boolean — —
value* Record<string, FilterBarMultiFilterMode> — Map of option value → include/exclude. Neutral options are absent.