aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-16 16:18:45 -0300
committerSebastian <sebasjm@gmail.com>2023-01-16 16:19:03 -0300
commite8ca838f2990388fdfdc75552f55e4cc8361caaf (patch)
tree01421887d0359382b5dbfe8b553ae713b42e0db6 /packages
parent4a104415fe9e49533f72e006d20fb5ab0e45269b (diff)
allow autocomplete, prevent autocapitalize in all forms
Diffstat (limited to 'packages')
-rw-r--r--packages/demobank-ui/src/pages/LoginForm.tsx1
-rw-r--r--packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx2
-rw-r--r--packages/demobank-ui/src/pages/RegistrationPage.tsx2
-rw-r--r--packages/demobank-ui/src/pages/WalletWithdrawForm.tsx2
-rw-r--r--packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx2
5 files changed, 6 insertions, 3 deletions
diff --git a/packages/demobank-ui/src/pages/LoginForm.tsx b/packages/demobank-ui/src/pages/LoginForm.tsx
index 552238eeb..a5d8695dc 100644
--- a/packages/demobank-ui/src/pages/LoginForm.tsx
+++ b/packages/demobank-ui/src/pages/LoginForm.tsx
@@ -61,7 +61,6 @@ export function LoginForm(): VNode {
}}
autoCapitalize="none"
autoCorrect="off"
- autoComplete="off"
>
<div class="pure-form">
<h2>{i18n.str`Please login!`}</h2>
diff --git a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx
index 021da51ed..46b006880 100644
--- a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx
+++ b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx
@@ -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;
diff --git a/packages/demobank-ui/src/pages/RegistrationPage.tsx b/packages/demobank-ui/src/pages/RegistrationPage.tsx
index 601e4f9b9..29f1bf5ee 100644
--- a/packages/demobank-ui/src/pages/RegistrationPage.tsx
+++ b/packages/demobank-ui/src/pages/RegistrationPage.tsx
@@ -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>
diff --git a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
index 17fb85592..a1b616657 100644
--- a/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
+++ b/packages/demobank-ui/src/pages/WalletWithdrawForm.tsx
@@ -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>
diff --git a/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx b/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx
index 747e8c516..b87b77c83 100644
--- a/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx
+++ b/packages/demobank-ui/src/pages/WithdrawalConfirmationQuestion.tsx
@@ -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>