Skip to content

Commit

Permalink
[@mantine/core] PasswordInput: Set autocomplete="off" to prevent pa…
Browse files Browse the repository at this point in the history
…sswords logging in console (mantinedev#4564)
  • Loading branch information
rtivital authored and Arel Cordero committed Sep 13, 2023
1 parent 64698f0 commit 13c3a6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mantine-core/src/PasswordInput/PasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ export const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>((p
disabled={disabled}
id={uuid}
ref={ref}
autoComplete="off"
{...rest}
/>
</Input>
Expand Down

0 comments on commit 13c3a6d

Please sign in to comment.