AutoComplete
Suggest values while allowing free-text input.
Examples
Use options for suggestions and onChange for typed or selected text. onSelect fires only when choosing a suggestion; onSearch fires only for typing. Set filterOption=false for server-generated suggestions. Handle debouncing and request order in your application.
Live previewInput and suggestions
Input:Empty · Last selection:None
basic.tsx
Live previewDynamic email suggestions
Suggestions are generated as you type. You can also enter a complete address.
search.tsx
AutoComplete API
AutoCompleteOption
Types
Import AutoCompleteProps to describe component props. Option types in the API table link to their detailed fields above.
Forms and localization
Use name to include values in FormData. Uncontrolled fields follow form reset; reset controlled values in application state. Place controls in FormField for labels, help and errors. ConfigProvider supplies regional themes and translated built-in UI. Application labels and options are your responsibility.