Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 14, 2024
1 parent 38c5d1d commit 7b0dc6b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/lib/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ export const Dropdown = React.memo(
};

const onOptionSelect = (event, option, isHide = true) => {
const value = getOptionValue(option);

selectItem({
originalEvent: event,
option
option: value
});

isHide && hide(true);
Expand Down

0 comments on commit 7b0dc6b

Please sign in to comment.