[frontend] Better autocapitalize/spellcheck settings on forms (#3077)

This commit is contained in:
tobi
2024-07-08 09:38:27 +02:00
committed by GitHub
parent 5769722c58
commit bbbf6ebe37
20 changed files with 205 additions and 38 deletions

View File

@ -135,6 +135,8 @@ function AlsoKnownAsURI({ index, data }) {
label={`Alias #${index+1}`}
field={form.alsoKnownAsURI}
placeholder={`https://example.org/users/my_other_account_${index+1}`}
type="url"
pattern="(http|https):\/\/.+"
/>
);
}
@ -190,10 +192,13 @@ function MoveForm({ data: profile }) {
field={form.movedToURI}
label="Move target URI"
placeholder="https://example.org/users/my_new_account"
type="url"
pattern="(http|https):\/\/.+"
/>
<TextInput
disabled={false}
type="password"
autoComplete="current-password"
name="password"
field={form.password}
label="Current account password"