interface ComboBoxContextProps {
    allowCustom: boolean;
    isDropdownOpen?: boolean;
    openDropdown: () => void;
    closeDropdown: () => void;
    topDropdownPanelComponent?: Element;
    scopedComboboxId: string;
    value?: any;
    schema?: DataSchema;
    valueSpec?: ValueSpecType;
    variablesSchema?: any;
    variablesOnly?: boolean;
    options?: ComboBoxOption[];
    optionFactories?: ComboBoxOptionsFactory[];
    refsToIgnoreClick?: PopperRefElementType[];
}

Hierarchy (View Summary)

Properties

allowCustom: boolean
isDropdownOpen?: boolean
openDropdown: () => void
closeDropdown: () => void
topDropdownPanelComponent?: Element
scopedComboboxId: string
value?: any
schema?: DataSchema
valueSpec?: ValueSpecType
variablesSchema?: any
variablesOnly?: boolean

Do not let entering custom values - only allow selecting from the variables.

options?: ComboBoxOption[]
optionFactories?: ComboBoxOptionsFactory[]
refsToIgnoreClick?: PopperRefElementType[]