Skip to content

A local-first personal finance app

Explicitly disable 1Password on table inputs (#3674)

Greggory Rothmeier1a13e98f4926
diff --git a/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx b/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx
index ffc5ae5479..eeca5b07bc 100644
--- a/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx
+++ b/packages/desktop-client/src/components/autocomplete/Autocomplete.tsx
@@ -139,7 +139,8 @@ function fireUpdate<T extends Item>(
}
function defaultRenderInput(props: ComponentProps<typeof Input>) {
- return <Input {...props} />;
+ // data-1p-ignore disables 1Password autofill behaviour
+ return <Input data-1p-ignore {...props} />;
}
function defaultRenderItems<T extends Item>(
diff --git a/upcoming-release-notes/3674.md b/upcoming-release-notes/3674.md
new file mode 100644
index 0000000000..fc14c2590b
--- /dev/null
+++ b/upcoming-release-notes/3674.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [greggroth]
+---
+
+Fixes 1Password credit card autocomplete showing on the transactions table