Skip to content

Commit

Permalink
Fix primefaces#6316: fixed issue on selecting option by key event whe…
Browse files Browse the repository at this point in the history
…n using optionValue prop
  • Loading branch information
Shubham Saurabh authored and melloware committed Apr 13, 2024
1 parent 0a3d4e7 commit 1a957fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/dropdown/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ export const Dropdown = React.memo(
};

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

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

isHide && hide(true);
Expand Down

0 comments on commit 1a957fc

Please sign in to comment.