fix(ui): suppress capitalization and correction for login on mobile keyboards (#3783)

* suppress capitalization and correction for login on mobile keyboards

* prettier pass

---------

Co-authored-by: Deluan Quintão <deluan@navidrome.org>
This commit is contained in:
Buck DeFore 2026-06-05 18:35:00 -04:00 committed by GitHub
parent 1709ce37f6
commit 318ad164df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
/>