Skip to content

feat: add Autocomplete component#5029

Open
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4587_autocomplete
Open

feat: add Autocomplete component#5029
hazrid93 wants to merge 1 commit into
callstack:mainfrom
hazrid93:hazrid93/4587_autocomplete

Conversation

@hazrid93

Copy link
Copy Markdown

feat: add Autocomplete component

Closes #4587.

Adds an Autocomplete text input that filters a collection of items by label as the user types and shows matching results in a dropdown. Controlled via value and onChangeText, calls onSelect with the chosen item and fills the input with its label.

The dropdown appears on focus when the value is non empty, caps results with a configurable maximum, and shows an empty state when nothing matches. Supports a custom filter predicate, a disabled state that hides the dropdown, a controlled showResults flag, and theme aware corner masking. The component and its item and props types are exported from the public surface.

@callstack-bot

callstack-bot commented Jul 20, 2026

Copy link
Copy Markdown

Hey @hazrid93, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

Closes callstack#4587.

Adds an Autocomplete text input that filters a collection of items by label as the user types and shows matching results in a dropdown. Controlled via value and onChangeText, calls onSelect with the chosen item and fills the input with its label.

The dropdown appears on focus when the value is non empty, caps results with a configurable maximum, and shows an empty state when nothing matches. Supports a custom filter predicate, a disabled state that hides the dropdown, a controlled showResults flag, and theme aware corner masking. The component and its item and props types are exported from the public surface.
@hazrid93
hazrid93 force-pushed the hazrid93/4587_autocomplete branch from 8e9cc51 to 3f2b387 Compare July 20, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autocomplete text input component

2 participants