From 9d75495644cccd49164b1bc2238f3b6e704f85e4 Mon Sep 17 00:00:00 2001 From: martina-equinix <161837167+martina-equinix@users.noreply.github.com> Date: Mon, 12 Jan 2026 15:59:20 +0100 Subject: [PATCH] Fix autocomplete in scaffolder RepoUrlPickerRepoName (#32106) * Fix autocomplete in scaffolder RepoUrlPickerRepoName ... since it was not filtering the list as the user types. Signed-off-by: martina-equinix * Add changeset Signed-off-by: martina-equinix * Update .changeset/tricky-tips-invite.md Co-authored-by: Benjamin Janssens Signed-off-by: martina-equinix <161837167+martina-equinix@users.noreply.github.com> --------- Signed-off-by: martina-equinix Signed-off-by: martina-equinix <161837167+martina-equinix@users.noreply.github.com> Co-authored-by: Benjamin Janssens --- .changeset/tricky-tips-invite.md | 5 +++++ .../fields/RepoUrlPicker/RepoUrlPickerRepoName.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/tricky-tips-invite.md diff --git a/.changeset/tricky-tips-invite.md b/.changeset/tricky-tips-invite.md new file mode 100644 index 0000000000..6c0ff236ae --- /dev/null +++ b/.changeset/tricky-tips-invite.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-scaffolder': patch +--- + +Fixed bug in RepoUrlPickerComponent component where repository names were not being autocompleted. diff --git a/plugins/scaffolder/src/components/fields/RepoUrlPicker/RepoUrlPickerRepoName.tsx b/plugins/scaffolder/src/components/fields/RepoUrlPicker/RepoUrlPickerRepoName.tsx index 0427f44241..f3c65a02bc 100644 --- a/plugins/scaffolder/src/components/fields/RepoUrlPicker/RepoUrlPickerRepoName.tsx +++ b/plugins/scaffolder/src/components/fields/RepoUrlPicker/RepoUrlPickerRepoName.tsx @@ -78,7 +78,7 @@ export const RepoUrlPickerRepoName = (props: { ) : ( { + onChange={(_, newValue) => { const selectedRepo = availableRepos?.find( r => r.name === newValue, );