From 371f83ce5126e5c8002b5714f4bd0a23f8dd7fa4 Mon Sep 17 00:00:00 2001 From: Gabriel Dalton Date: Sun, 27 Sep 2026 13:26:03 -0700 Subject: [PATCH] Stop Account Name and Username refilling after they are cleared The auto-fill effect read name and username to check whether they were empty, which made them dependencies of the effect. Clearing either field re-ran the effect and filled it straight back in, so the field could not be emptied or retyped from scratch. Read them untracked, and only overwrite a name the form filled in itself. As a side effect the name now follows the email while it is typed, instead of sticking at the first letter. --- .../components/settings/AccountForm.svelte | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/frontend/src/lib/components/settings/AccountForm.svelte b/frontend/src/lib/components/settings/AccountForm.svelte index 442380d2..1e09b1c8 100644 --- a/frontend/src/lib/components/settings/AccountForm.svelte +++ b/frontend/src/lib/components/settings/AccountForm.svelte @@ -1,4 +1,5 @@