From 5399e3977d6ecae4b0a0f14170747b9c346a7568 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Mon, 21 Sep 2026 08:08:02 -0400 Subject: [PATCH] fix: enforce the account form's required fields the way the admin user dialog does (#30296) --- .../components/chat/Settings/Account.svelte | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/lib/components/chat/Settings/Account.svelte b/src/lib/components/chat/Settings/Account.svelte index c01365d412..4ed8e05b29 100644 --- a/src/lib/components/chat/Settings/Account.svelte +++ b/src/lib/components/chat/Settings/Account.svelte @@ -236,7 +236,17 @@ }); -
+
{ + const res = await submitHandler(); + + if (res) { + saveHandler(); + } + }} +>

{$i18n.t('settings.personal.account.title')} @@ -323,7 +333,6 @@ type="date" aria-label={$i18n.t('settings.personal.account.birthDate.label')} bind:value={dateOfBirth} - required /> @@ -564,18 +573,12 @@
-

+