From 6ee60b8554148f64cb588ab9bf442d5171e39185 Mon Sep 17 00:00:00 2001 From: KumJungMin Date: Fri, 11 Oct 2024 20:53:56 +0900 Subject: [PATCH] fix: pass option object value to selectItem --- components/lib/dropdown/Dropdown.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/lib/dropdown/Dropdown.js b/components/lib/dropdown/Dropdown.js index a1cfb458a6..a5038a4620 100644 --- a/components/lib/dropdown/Dropdown.js +++ b/components/lib/dropdown/Dropdown.js @@ -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);