suppress capitalization and correction for login on mobile keyboards

This commit is contained in:
Buck DeFore 2025-03-08 14:06:42 -05:00
parent 0d42b9a4a5
commit 5ba81a7324

View File

@ -101,8 +101,13 @@ const renderInput = ({
}) => (
<TextField
error={!!(touched && error)}
inputProps={{
// mobile keyboards: suppress capitalization and correction for login related fields
autocapitalize:'none',
autocorrect: 'off',
...inputProps
}}
helperText={touched && error}
{...inputProps}
{...props}
fullWidth
/>