Skip to content

Commit

Permalink
chore: disable address input autocomplete (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Dec 26, 2023
1 parent f760509 commit 4d38d6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/AddressInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const AddressInput = () => {
type="text"
id="onchainAddress"
name="onchainAddress"
autocomplete="off"
placeholder={t("onchain_address", { asset: asset() })}
/>
);
Expand Down
1 change: 1 addition & 0 deletions src/components/InvoiceInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const InvoiceInput = () => {
data-testid="invoice"
name="invoice"
value={invoice()}
autocomplete="off"
placeholder={t("create_and_paste", {
amount: receiveAmountFormatted(),
denomination: denomination(),
Expand Down

2 comments on commit 4d38d6f

@vercel
Copy link

@vercel vercel bot commented on 4d38d6f Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 4d38d6f Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.