Skip to content

Commit

Permalink
feature(web): Save title and tag name changes on enter. Fixes #283 (#293
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 authored Jul 13, 2024
1 parent e65aadb commit 1396dd2
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 1396dd2

Please sign in to comment.