From df48f5c6dd558faa3ff2b28dd410ccb40fee7d20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1rio=20Guimar=C3=A3es?= Date: Sun, 19 Nov 2023 13:47:23 +0000 Subject: [PATCH] GH requested Changes --- components/PasswordInput/index.tsx | 9 ++------- layout/SignUp/components/SignUpForm/index.tsx | 7 ++++++- pages/register/[uuid].js | 8 +++++++- 3 files changed, 15 insertions(+), 9 deletions(-) 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)} />