Array of reference strings to filter and display as suggestions
OptionalvalueCurrent value of the text input
OptionallabelLabel text displayed above the input
OptionalmodeDisplay mode: outlined or flat (default: 'outlined')
OptionaldenseWhether to use dense styling (default: false)
OptionalonLive-commit callback fired on every keystroke. Use this to keep an
external store (e.g. react-hook-form) in sync with what the user is
currently typing, without waiting for blur. Optional — consumers that
only need a final "submit/select" event can rely on onValidate.
OptionalonCallback fired when the text is validated (submitted via end-editing or selected from the dropdown). Use this for semantic commit operations (e.g. adding to an array, fuzzy-matching against a DB).
OptionalonCallback fired ONLY when an item is picked from the autocomplete dropdown.
When provided, the dropdown-select path calls this instead of the
onChangeText + onValidate pair — so the consumer can treat an explicit
selection differently from typed-then-blurred text (e.g. force a fresh DB
resolution rather than relying on a stale name-changed comparison).
Unique identifier for testing and accessibility
OptionalstyleCustom styles for the container
OptionalcontentCustom styles for the text content
OptionaltextCustom styles applied directly to the inner TextInput surface
OptionalrightRight element (icon or affix) to display inside the input
OptionalonOptional focus handler called when the inner input gains focus
OptionalrenderWhen provided, lays out the field and the suggestion bubble (null when hidden) so a parent can place the bubble at another level, e.g. spanning a whole table row. By default the bubble renders right under the field.
OptionalonOptional blur handler called when the inner input loses focus
Props for the TextInputWithDropDown component