mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user