mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[MISC] Disable auto capitalization of username field on mobile (#1435)
This commit is contained in:
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
Block a user