From 5ba81a7324cb662d87a93bb1eea3ef0841ce601a Mon Sep 17 00:00:00 2001 From: Buck DeFore Date: Sat, 8 Mar 2025 14:06:42 -0500 Subject: [PATCH 1/2] suppress capitalization and correction for login on mobile keyboards --- ui/src/layout/Login.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/layout/Login.jsx b/ui/src/layout/Login.jsx index 2244f4dfd..cd24dc4a7 100644 --- a/ui/src/layout/Login.jsx +++ b/ui/src/layout/Login.jsx @@ -101,8 +101,13 @@ const renderInput = ({ }) => ( From be43b996e1c8122f9ccd0451254578049a9771e5 Mon Sep 17 00:00:00 2001 From: Buck DeFore Date: Sat, 8 Mar 2025 17:01:11 -0500 Subject: [PATCH 2/2] prettier pass --- ui/src/layout/Login.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/layout/Login.jsx b/ui/src/layout/Login.jsx index cd24dc4a7..93e38be09 100644 --- a/ui/src/layout/Login.jsx +++ b/ui/src/layout/Login.jsx @@ -103,9 +103,9 @@ const renderInput = ({ error={!!(touched && error)} inputProps={{ // mobile keyboards: suppress capitalization and correction for login related fields - autocapitalize:'none', + autocapitalize: 'none', autocorrect: 'off', - ...inputProps + ...inputProps, }} helperText={touched && error} {...props}