Merge pull request #27291 from apc-kamezaki/bugfix/repourlname
RepoUrlPickerRepoName did not keep the input value
This commit is contained in:
@@ -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 || []}
|
||||
|
||||
Reference in New Issue
Block a user