ComboboxContent
The open list (role="listbox").
import { ComboboxContent } from '@/components/ui/goop/combobox';Options
- container?: HTMLElement | null — Where the panel is portalled; the end of
<body>when left out. - empty?: ReactNode = 'No results' — The words the list shows while no row matches; "No results" by default,
nullfor none. - loadingLabel?: string = 'Loading' — The words of the loading row, said as it appears; "Loading" by default.
- customLabel?: (words: string) => string — The row offering the words typed (
allowCustomValue);Use “<words>”by default. - noneRowLabel?: string — The row that sets an
optionalcombobox back to none; "No <label>", else "Clear", by default. - createLabel?: (words: string) => string — The row offering to create the words searched for (
onCreate);Create “<words>”by default. - creatingLabel?: (words: string) => string — The loading row while a create's promise waits;
Creating “<words>”by default. - searchPlaceholder?: string — The chip's search field's placeholder words (
shape="chip"). - searchLabel?: string — The chip's search field's name; the combobox's
labelby default, elsesearchPlaceholder.