Skip to content

Commit

Permalink
clear searchbar after selection
Browse files Browse the repository at this point in the history
Signed-off-by: Abdelsalem <[email protected]>
  • Loading branch information
AbdelHedhili committed Nov 9, 2023
1 parent b82955b commit b24e0ae
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const ElementSearchDialog = (props) => {
if (reason === 'selectOption') {
onSelectionChange(newValue);
setValue(newValue);
handleClose();
} else {
setValue(null);
}
Expand Down

0 comments on commit b24e0ae

Please sign in to comment.