Skip to content

docs(material): add autocomplete loading example - #33720

Open
hadt0786 wants to merge 1 commit into
angular:mainfrom
hadt0786:docs-18478-autocomplete-loading-example
Open

docs(material): add autocomplete loading example#33720
hadt0786 wants to merge 1 commit into
angular:mainfrom
hadt0786:docs-18478-autocomplete-loading-example

Conversation

@hadt0786

Copy link
Copy Markdown

docs(material): add autocomplete loading example

@pullapprove
pullapprove Bot requested review from andrewseguin and crisbeto August 23, 2026 13:33
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Aug 23, 2026
@hadt0786
hadt0786 marked this pull request as draft August 23, 2026 13:40
@hadt0786
hadt0786 marked this pull request as ready for review August 23, 2026 13:40
@hadt0786

Copy link
Copy Markdown
Author

Summary

  • add an asynchronous autocomplete example with a visible loading state
  • show a disabled "No results found" option when the search completes without matches
  • use switchMap to cancel stale searches and finalize to clear loading state
  • document the pattern without changing the MatAutocomplete API

Fixes #18478

Testing

  • documentation/example-only change; CI will validate the example and docs build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant