Fixed the dropdown bug in UserInputSidebar

This commit is contained in:
monilprajapati
2024-06-11 17:11:55 +05:30
parent df8493ae69
commit bcda8c6143
+2
View File
@@ -14944,6 +14944,7 @@ const AngularWorkflow = (defaultprops) => {
onChange={(event, newValue) => {
console.log("Changed autocomplete!")
handleWorkflowSelectionUpdate({ target: { value: newValue } }, true)
event.target.blur();
}}
renderOption={(props, data, state) => {
if (data.id === workflow.id) {
@@ -14972,6 +14973,7 @@ const AngularWorkflow = (defaultprops) => {
value: data,
}},
true)
document.activeElement.blur();
}}
>
<PolylineIcon style={{ marginRight: 8 }} />