Skip to content

Commit

Permalink
Fix enter key behaviour on tag input
Browse files Browse the repository at this point in the history
  • Loading branch information
providenz committed Jan 11, 2025
1 parent 54b6a90 commit 0908262
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front/src/Apps/Forms/Components/TagsInput/TagsInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const TagsInput = ({
},
onKeyDown: e => {
if (e.key === "Enter") {
e.preventDefault();
saveTag();
}
}
Expand Down

0 comments on commit 0908262

Please sign in to comment.