mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
suppress capitalization and correction for login on mobile keyboards
This commit is contained in:
parent
0d42b9a4a5
commit
5ba81a7324
@ -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
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user