Skip to content

Form input fields should autofocus #102

@perennialAutodidact

Description

@perennialAutodidact

The form input fields should autofocus so they can be typed in immediately when each form step loads. This will allow the form to be navigable completely by keyboard. This can be achieved by adding the autoFocus prop on the input fields.

This should apply to the slider as well.

If, for some reason, the autoFocus attribute doesn't work on the elements, they can be given refs and a useEffect can be used to set the element's focus with ref.current.focus().

Metadata

Metadata

Assignees

Labels

frontendIssue pertains to the frontend clientsetup formIssue pertains to the game setup form

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions