Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
hoorayimhelping committed Feb 12, 2025
1 parent 4547713 commit 0216c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Select/common/InternalSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export const InternalSelect = ({
if (e.key === "Enter") {
e.preventDefault();
if (highlighted) {
onSelect(highlighted, "default", e);
onSelect(highlighted, undefined, e);
} else if (visibleList.current.length === 0 && allowCreateOption) {
onSelect(search, "custom", e);
}
Expand Down

0 comments on commit 0216c0b

Please sign in to comment.