Skip to content

Commit

Permalink
[Feature Request] Push enter key to submit hoarder-app#283
Browse files Browse the repository at this point in the history
allowing to press enter to submit changes
Applies to tags and bookmark titles
  • Loading branch information
kamtschatka committed Jul 9, 2024
1 parent ee167be commit 2d7bc2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/components/dashboard/EditableText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function EditMode({
onKeyDown={(e) => {
if (e.key === "Enter") {
e.preventDefault();
onSave();
}
}}
/>
Expand Down

0 comments on commit 2d7bc2e

Please sign in to comment.