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" autoCapitalize="none"
autoCorrect="off" autoCorrect="off"
autoComplete="off"
> >
<div class="pure-form"> <div class="pure-form">
<h2>{i18n.str`Please login!`}</h2> <h2>{i18n.str`Please login!`}</h2>

View File

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

View File

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

View File

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

View File

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