diff --git a/components/PasswordInput/index.tsx b/components/PasswordInput/index.tsx index 04bb70e2..5271eb0d 100644 --- a/components/PasswordInput/index.tsx +++ b/components/PasswordInput/index.tsx @@ -7,7 +7,6 @@ import { faEye, faEyeSlash } from "@fortawesome/free-solid-svg-icons"; interface Props extends InputHTMLAttributes { text?: string; - autocomplete?: string; fgColor: string; bgColor: string; enabled?: boolean; @@ -16,10 +15,8 @@ interface Props extends InputHTMLAttributes { export default forwardRef(function PasswordInput( { text = "PASSWORD", - id = "password", - name = "password", type = "password", - autocomplete = "current-password", + autoComplete = "current-password", fgColor, bgColor, ...rest @@ -36,12 +33,10 @@ export default forwardRef(function PasswordInput( updateNickname(e.currentTarget.value)} /> - + updatePassword(e.currentTarget.value)} + /> updateNickname(e.currentTarget.value)} /> - + updatePassword(e.currentTarget.value)} + /> updatePasswordConfirmation(e.currentTarget.value)} />