allow autocomplete, prevent autocapitalize in all forms

This commit is contained in:
Sebastian 2023-01-16 16:18:45 -03:00
parent 4a104415fe
commit e8ca838f29
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
5 changed files with 6 additions and 3 deletions

View File

@ -61,7 +61,6 @@ export function LoginForm(): VNode {
}}
autoCapitalize="none"
autoCorrect="off"
autoComplete="off"
>
<div class="pure-form">
<h2>{i18n.str`Please login!`}</h2>

View File

@ -82,7 +82,6 @@ export function PaytoWireTransferForm({
}}
autoCapitalize="none"
autoCorrect="off"
autoComplete="off"
>
<p>
<label for="iban">{i18n.str`Receiver IBAN:`}</label>&nbsp;
@ -260,7 +259,6 @@ export function PaytoWireTransferForm({
}}
autoCapitalize="none"
autoCorrect="off"
autoComplete="off"
>
<p>
<label for="address">{i18n.str`payto URI:`}</label>&nbsp;

View File

@ -91,6 +91,8 @@ function RegistrationForm(): VNode {
onSubmit={(e) => {
e.preventDefault();
}}
autoCapitalize="none"
autoCorrect="off"
>
<div class="pure-form">
<h2>{i18n.str`Please register!`}</h2>

View File

@ -52,6 +52,8 @@ export function WalletWithdrawForm({
onSubmit={(e) => {
e.preventDefault();
}}
autoCapitalize="none"
autoCorrect="off"
>
<p>
<label for="withdraw-amount">{i18n.str`Amount to withdraw:`}</label>

View File

@ -57,6 +57,8 @@ export function WithdrawalConfirmationQuestion(): VNode {
onSubmit={(e) => {
e.preventDefault();
}}
autoCapitalize="none"
autoCorrect="off"
>
<div class="pure-form" id="captcha" name="capcha-form">
<h2>{i18n.str`Authorize withdrawal by solving challenge`}</h2>