Merge pull request #27291 from apc-kamezaki/bugfix/repourlname

RepoUrlPickerRepoName did not keep the input value
This commit is contained in:
Ben Lambert
2024-10-22 10:29:14 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
fix(scaffolder): use `onInputChange` in `RepoUrlPicker` to fix issue with the value not updating properly
@@ -67,7 +67,7 @@ export const RepoUrlPickerRepoName = (props: {
) : (
<Autocomplete
value={repoName}
onChange={(_, newValue) => {
onInputChange={(_, newValue) => {
onChange(newValue || '');
}}
options={availableRepos || []}