Fixed the dropdown bug in UserInputSidebar
This commit is contained in:
@@ -14944,6 +14944,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
onChange={(event, newValue) => {
|
onChange={(event, newValue) => {
|
||||||
console.log("Changed autocomplete!")
|
console.log("Changed autocomplete!")
|
||||||
handleWorkflowSelectionUpdate({ target: { value: newValue } }, true)
|
handleWorkflowSelectionUpdate({ target: { value: newValue } }, true)
|
||||||
|
event.target.blur();
|
||||||
}}
|
}}
|
||||||
renderOption={(props, data, state) => {
|
renderOption={(props, data, state) => {
|
||||||
if (data.id === workflow.id) {
|
if (data.id === workflow.id) {
|
||||||
@@ -14972,6 +14973,7 @@ const AngularWorkflow = (defaultprops) => {
|
|||||||
value: data,
|
value: data,
|
||||||
}},
|
}},
|
||||||
true)
|
true)
|
||||||
|
document.activeElement.blur();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<PolylineIcon style={{ marginRight: 8 }} />
|
<PolylineIcon style={{ marginRight: 8 }} />
|
||||||
|
|||||||
Reference in New Issue
Block a user