diff --git a/.changeset/search-under-the-sun.md b/.changeset/search-under-the-sun.md index dc1bbe42e9..2cf5d46cdb 100644 --- a/.changeset/search-under-the-sun.md +++ b/.changeset/search-under-the-sun.md @@ -2,7 +2,7 @@ '@backstage/plugin-search': patch --- -Introduces a `` variant, which can be used as either a single- or multi-select autocomplete. +Introduces a `` variant, which can be used as either a single- or multi-select autocomplete filter. This variant, as well as ``, now also supports loading allowed values asynchronously with a new `asyncValues` prop, which takes an asynchronous function that resolves to the list of values (an optional `asyncDebounce` prop may also be provided). diff --git a/packages/create-app/templates/default-app/packages/app/src/components/search/SearchPage.tsx b/packages/create-app/templates/default-app/packages/app/src/components/search/SearchPage.tsx index 411f902933..d348606873 100644 --- a/packages/create-app/templates/default-app/packages/app/src/components/search/SearchPage.tsx +++ b/packages/create-app/templates/default-app/packages/app/src/components/search/SearchPage.tsx @@ -79,7 +79,7 @@ const SearchPage = () => { label="Entity" name="name" asyncValues={async partial => { - // Return a list of entitis which are documented. + // Return a list of entities which are documented. const { items } = await catalogApi.getEntities({ fields: ['metadata.name'], filter: {