From 12e3d2982209007bd6c4100db96aa1adb47776c9 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Wed, 20 Sep 2023 17:44:58 +0800 Subject: [PATCH] Do not autocapitalize password fields --- src/routes/Login/Login.tsx | 1 + src/routes/Register/Register.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/routes/Login/Login.tsx b/src/routes/Login/Login.tsx index b141a3d..5a72b1a 100644 --- a/src/routes/Login/Login.tsx +++ b/src/routes/Login/Login.tsx @@ -59,6 +59,7 @@ export default function Login() { placeholderTextColor="white" secureTextEntry={true} value={creds.password} + autoCapitalize={"none"} onChange={( e: NativeSyntheticEvent ): void => { diff --git a/src/routes/Register/Register.tsx b/src/routes/Register/Register.tsx index 09633a5..c563f26 100644 --- a/src/routes/Register/Register.tsx +++ b/src/routes/Register/Register.tsx @@ -113,6 +113,7 @@ export default function Register() { placeholderTextColor={colors.text_default} secureTextEntry={true} value={user.password} + autoCapitalize={"none"} onChange={( e: NativeSyntheticEvent ): void => {