TriStateMultiSelect
API reference and demos for TriStateMultiSelect.
Import
Section titled “Import”import { TriStateMultiSelect } from "@flanksource/clicky-ui/components";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. |