Skip to content

Commit

Permalink
fix: pass option object value to selectItem (#7327)
Browse files Browse the repository at this point in the history
  • Loading branch information
KumJungMin authored Oct 11, 2024
1 parent f2edb0d commit 3f7e836
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions components/lib/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,9 @@ export const Dropdown = React.memo(
};

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

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

isHide && hide(true);
Expand Down

0 comments on commit 3f7e836

Please sign in to comment.