Skip to content

Login form username input default focus  #3393

@tengcomplex

Description

@tengcomplex

Spring Boot Admin Server information

Version:
3.2.3

Spring Boot version:
3.2.4

Configured Security:
Basic auth

Webflux or Servlet application:
Servlet

Client information

Any Browser.

Description

In version 2.7 the ui initialized the login form with autofocus on username.
In 3.2.3 (presumably since spring boot 3 migration) this is not the case anymore.
I couldn't find any reason or discussion where this behaviour maybe was left out on purpose.
When using multiple SBA instances in browser tabs, an initial focus on username field can improve the user experience IHMO.

I can see that in login.html of branch 2.7 it sets autofocus for username field.
In branch master it seems this is not set anymore.

Steps to reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions