Skip to content

fix: prevent name input from losing trailing spaces while typing#719

Merged
antonreshetov merged 1 commit intomainfrom
fix/editable-field-trim-bug
Mar 31, 2026
Merged

fix: prevent name input from losing trailing spaces while typing#719
antonreshetov merged 1 commit intomainfrom
fix/editable-field-trim-bug

Conversation

@antonreshetov
Copy link
Copy Markdown
Member

No description provided.

Server trims names on save, and the debounced getSnippets/getNotes
refresh was overwriting the input value mid-edit. Extracted
useEditableField composable that buffers input locally while focused,
syncing from server only when the input is not active.
@antonreshetov antonreshetov merged commit 3d646fa into main Mar 31, 2026
@antonreshetov antonreshetov deleted the fix/editable-field-trim-bug branch March 31, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant