jscheffl commented on code in PR #51762:
URL: https://github.com/apache/airflow/pull/51762#discussion_r2150841682
##########
airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/src/login/LoginForm.tsx:
##########
@@ -53,7 +53,8 @@ export const LoginForm = ({ isPending, onLogin }:
LoginFormProps) => {
render={({ field, fieldState }) => (
<Field.Root invalid={Boolean(fieldState.error)} required>
<Field.Label>Username</Field.Label>
- <Input {...field} />
+ {/* eslint-disable-next-line jsx-a11y/no-autofocus */}
+ <Input autoFocus={true} {...field} />
Review Comment:
Ah I was not realizing maybe earlier that the error was also regarding the
linting. Yeah thanks, optimized the chars of truth away :-D
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]