From 833356116aacfb012af7637966fbed04d6282db9 Mon Sep 17 00:00:00 2001
From: Johanna Larsson
Date: Thu, 17 Sep 2026 22:19:16 +0100
Subject: [PATCH] Set inputmode on inputs
This improves mobile behavior for the inputs without affecting other things.
Two inputs set to email, rest to URL pre recommendation in https://tangled.org/tranquil.farm/tranquil-pds/issues/140
Also disables autocapitalize, autocorrect, and spellcheck, while we're at it. All really annoying when typing in handles on a mobile phone.
---
frontend/src/components/HandleInput.svelte | 4 ++++
.../src/components/dashboard/AdminContent.svelte | 4 ++++
.../components/dashboard/ControllersContent.svelte | 8 ++++++++
.../components/dashboard/DidDocumentContent.svelte | 4 ++++
.../src/components/dashboard/SettingsContent.svelte | 13 ++++++++++++-
.../src/components/migration/InboundWizard.svelte | 4 ++++
frontend/src/routes/OAuthDelegation.svelte | 4 ++++
frontend/src/routes/OAuthLogin.svelte | 4 ++++
frontend/src/routes/RequestPasskeyRecovery.svelte | 5 ++++-
frontend/src/routes/ResetPassword.svelte | 5 ++++-
10 files changed, 52 insertions(+), 3 deletions(-)
diff --git a/frontend/src/components/HandleInput.svelte b/frontend/src/components/HandleInput.svelte
index eb1f077..b6b09cf 100644
--- a/frontend/src/components/HandleInput.svelte
+++ b/frontend/src/components/HandleInput.svelte
@@ -64,6 +64,10 @@
onSearchInput(e.currentTarget.value)}
placeholder={$_('admin.searchPlaceholder')}
diff --git a/frontend/src/components/dashboard/ControllersContent.svelte b/frontend/src/components/dashboard/ControllersContent.svelte
index 1120ae9..6626fb8 100644
--- a/frontend/src/components/dashboard/ControllersContent.svelte
+++ b/frontend/src/components/dashboard/ControllersContent.svelte
@@ -422,6 +422,10 @@
onControllerInput((e.target as HTMLInputElement).value)}
onblur={() => { setTimeout(() => { showTypeahead = false }, 200) }}
@@ -541,6 +545,10 @@
diff --git a/frontend/src/components/dashboard/SettingsContent.svelte b/frontend/src/components/dashboard/SettingsContent.svelte
index ad9f4e6..c7b51af 100644
--- a/frontend/src/components/dashboard/SettingsContent.svelte
+++ b/frontend/src/components/dashboard/SettingsContent.svelte
@@ -342,7 +342,18 @@
-
diff --git a/frontend/src/routes/ResetPassword.svelte b/frontend/src/routes/ResetPassword.svelte
index 160ff05..21c9b7d 100644
--- a/frontend/src/routes/ResetPassword.svelte
+++ b/frontend/src/routes/ResetPassword.svelte
@@ -120,6 +120,10 @@
{$_('common.backToLogin')}
-