mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-31 07:30:32 +00:00
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:
parent
639f8bd68b
commit
15f38cf420
@ -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