LoginPage: Removed auto-capitalization from the login form (#28716)

* Removed auto-capitalization from the login form

On mobile browsers, by default most keyboards will auto capitalize the first letter of the email/username, which is case sensitive.  
This PR fixes that.

* Fixed autoCapitalize react keyword
pull/28754/head
tabarra 5 years ago committed by GitHub
parent e93cb06604
commit 6a97c456ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      public/app/core/components/Login/LoginForm.tsx

@ -33,6 +33,7 @@ export const LoginForm: FC<Props> = ({ children, onSubmit, isLoggingIn, password
<Input
autoFocus
name="user"
autoCapitalize="none"
ref={register({ required: 'Email or username is required' })}
placeholder={loginHint}
aria-label={selectors.pages.Login.username}

Loading…
Cancel
Save