Skip to content

Commit b4920b1

Browse files
authored
Tell password managers to stop trying to fill name field (#2530)
tell password managers to stop trying to fill name field
1 parent 0552b62 commit b4920b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/components/form/fields/NameField.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ export function NameField<
3636
.replace(/[\s_]+/g, '-')
3737
.replace(/[^a-z0-9-]/g, '')
3838
}
39+
// https://www.stefanjudis.com/snippets/turn-off-password-managers/
40+
data-1p-ignore
41+
data-bwignore
42+
data-lpignore="true"
43+
data-form-type="other"
3944
{...textFieldProps}
4045
/>
4146
)

0 commit comments

Comments
 (0)