Skip to content

Commit

Permalink
Resenting selected connector state when clear field
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseLuisGJ committed Oct 21, 2024
1 parent b579a8f commit 9ecfd1a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ export const ChooseConnectorSelectable: React.FC<ChooseConnectorSelectableProps>
if (value !== selectedConnector?.name) {
setSearchValue(value);
}
if (value === '') {
setSelectedConnector(null);
}
},
onClick: openPopover,
onFocus: openPopover,
Expand Down

0 comments on commit 9ecfd1a

Please sign in to comment.