[MISC] Disable auto capitalization of username field on mobile (#1435)
parent
a5f07d7ade
commit
e243fad1ba
|
@ -16,7 +16,8 @@ const FixedTextField = function (props: TextFieldProps) {
|
|||
classes: {
|
||||
root: style.label
|
||||
}
|
||||
}}>
|
||||
}}
|
||||
inputProps={{autoCapitalize: props.autoCapitalize}}>
|
||||
{props.children}
|
||||
</TextField>
|
||||
);
|
||||
|
|
|
@ -94,6 +94,7 @@ const FirstFactorForm = function (props: Props) {
|
|||
fullWidth
|
||||
onChange={v => setUsername(v.target.value)}
|
||||
onFocus={() => setUsernameError(false)}
|
||||
autoCapitalize="none"
|
||||
onKeyPress={(ev) => {
|
||||
if (ev.key === 'Enter') {
|
||||
if (!username.length) {
|
||||
|
|
Loading…
Reference in New Issue