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 Shubham Saurabh committed Apr 10, 2024
1 parent 318be80 commit 8c1322d
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 8c1322d

Please sign in to comment.