summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-08 09:38:27 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-08 09:38:27 +0200
commitbbbf6ebe376c7b6c3a64e14571a3a477b880e3ad (patch)
treed24aa92f743de5c440ce786d61cc86f72bf9a3e7 /web/template
parent[chore]: Bump github.com/microcosm-cc/bluemonday from 1.0.26 to 1.0.27 (#3081) (diff)
downloadgotosocial-bbbf6ebe376c7b6c3a64e14571a3a477b880e3ad.tar.xz
[frontend] Better autocapitalize/spellcheck settings on forms (#3077)
Diffstat (limited to 'web/template')
-rw-r--r--web/template/sign-up.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/template/sign-up.tmpl b/web/template/sign-up.tmpl
index 556486bf3..43513af62 100644
--- a/web/template/sign-up.tmpl
+++ b/web/template/sign-up.tmpl
@@ -58,6 +58,8 @@
required
placeholder="Please enter your desired username"
pattern="^[a-z0-9_]{1,64}$"
+ autocapitalize="off"
+ spellcheck="false"
title="lowercase a-z, numbers, and underscores; max 64 characters"
>
</div>
@@ -75,6 +77,7 @@
rows="8"
minlength="40"
maxlength="500"
+ autocapitalize="sentences"
title="40-500 characters"
></textarea>
</div>