Skip to content

@jimka/typescript-ui / component/input / AutoCompleteMatchMode

Type Alias: AutoCompleteMatchMode

ts
type AutoCompleteMatchMode = "contains" | "startsWith";

Defined in: src/typescript/lib/component/input/AutoCompleteField.ts:20

Controls how typed input is matched against suggestion strings.

  • 'contains' — matches anywhere in the string (default).
  • 'startsWith' — matches only from the beginning of the string.