EnhanceComboboxOptions: {
    autoHighlight?: boolean;
    defaultValue?: string;
    filter?: boolean;
    onValueChange?: (value: string) => void;
}

Options for enhanceCombobox.

Type declaration

  • OptionalautoHighlight?: boolean

    Highlight the first match automatically while typing. Defaults to true.

  • OptionaldefaultValue?: string

    Initial committed value; pre-fills the input.

  • Optionalfilter?: boolean

    Hide options that don't match the typed query. Defaults to true.

  • OptionalonValueChange?: (value: string) => void

    Called with the committed value after a selection or setValue.