From f3bb2d5d019199dfd2898add8b6935adc5339fa7 Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 2 Dec 2024 15:06:17 +0100 Subject: [PATCH] fix(frontend): add autocomplete=off tags to most inputs --- .../src/lib/components/editor/FieldEditor.svelte | 3 ++- .../src/lib/components/editor/FieldEntryEditor.svelte | 2 +- .../src/lib/components/editor/FieldsEditor.svelte | 1 + .../src/lib/components/editor/PronounEntryEditor.svelte | 3 ++- .../src/lib/components/editor/PronounsEditor.svelte | 2 +- Foxnouns.Frontend/src/routes/settings/+page.svelte | 8 +++++++- .../src/routes/settings/members/[id]/+page.svelte | 9 ++++++++- .../src/routes/settings/members/new/+page.svelte | 2 +- .../src/routes/settings/profile/+page.svelte | 2 ++ 9 files changed, 25 insertions(+), 7 deletions(-) diff --git a/Foxnouns.Frontend/src/lib/components/editor/FieldEditor.svelte b/Foxnouns.Frontend/src/lib/components/editor/FieldEditor.svelte index c2536dd..b409290 100644 --- a/Foxnouns.Frontend/src/lib/components/editor/FieldEditor.svelte +++ b/Foxnouns.Frontend/src/lib/components/editor/FieldEditor.svelte @@ -65,7 +65,7 @@ onclick={() => move(index, false)} /> {$t("editor.field-name")} - + diff --git a/Foxnouns.Frontend/src/lib/components/editor/FieldEntryEditor.svelte b/Foxnouns.Frontend/src/lib/components/editor/FieldEntryEditor.svelte index 65c2355..5e407ac 100644 --- a/Foxnouns.Frontend/src/lib/components/editor/FieldEntryEditor.svelte +++ b/Foxnouns.Frontend/src/lib/components/editor/FieldEntryEditor.svelte @@ -40,7 +40,7 @@ tooltip={$t("editor.move-entry-down")} onclick={() => moveValue(index, false)} /> - + diff --git a/Foxnouns.Frontend/src/lib/components/editor/FieldsEditor.svelte b/Foxnouns.Frontend/src/lib/components/editor/FieldsEditor.svelte index 6bbba9c..bcd3e78 100644 --- a/Foxnouns.Frontend/src/lib/components/editor/FieldsEditor.svelte +++ b/Foxnouns.Frontend/src/lib/components/editor/FieldsEditor.svelte @@ -56,6 +56,7 @@ class="form-control" bind:value={newFieldName} placeholder={$t("editor.field-name")} + autocomplete="off" /> diff --git a/Foxnouns.Frontend/src/lib/components/editor/PronounEntryEditor.svelte b/Foxnouns.Frontend/src/lib/components/editor/PronounEntryEditor.svelte index aee6859..bcf5c15 100644 --- a/Foxnouns.Frontend/src/lib/components/editor/PronounEntryEditor.svelte +++ b/Foxnouns.Frontend/src/lib/components/editor/PronounEntryEditor.svelte @@ -50,7 +50,7 @@ tooltip={$t("editor.move-entry-down")} onclick={() => moveValue(index, true)} /> - + @@ -88,6 +88,7 @@ type="text" class="form-control" bind:value={value.display_text} + autocomplete="off" />