ComboboxContent
The open list.
import { ComboboxContent } from '@/components/ui/goop/combobox';Options
- 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. - empty?: ReactNode = 'No results' — The words shown while no row matches;
nullfor none. - loadingLabel?: string = 'Loading' — The words of the loading row, said as it appears.
- 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. - Also takes: container?: HTMLElement | null