Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Pressing Enter in installation form focuses wrong field. #29770

Open
Harmageddon opened this issue Jun 23, 2020 · 3 comments
Open

[4.0] Pressing Enter in installation form focuses wrong field. #29770

Harmageddon opened this issue Jun 23, 2020 · 3 comments

Comments

@Harmageddon
Copy link
Contributor

Steps to reproduce the issue

  1. Download a full installation package and extract it.
  2. Navigate to the installation screen.
  3. Select the language and enter a site name.
  4. Press the "Enter" key on your keyboard.
  5. Enter your user details.
  6. Press the "Enter" key on your keyboard.
  7. Press the button "Setup Database Connection".
  8. Enter your database details.
  9. Press the "Enter" key on your keyboard.

Expected result

As in normal forms, hitting Enter will submit the form, in case of this multi-step form, the next "submit" button (respectively the button leading to the next page) should be clicked, when hitting Enter inside a form field.

Actual result

The field "Enter the real name of your Super User." is focused when hitting enter. This happens on the user details step, but also in subsequent steps, which is even more confusing.

System information (as much as possible)

Browser: Firefox 77.0
OS: Manjaro Linux

@brianteeman
Copy link
Contributor

I can not replicate this

@Harmageddon
Copy link
Contributor Author

Just tested with beta2 and the current nightly, and the issue still exists for me, both in Firefox and Chromium. Maybe my test instructions are imprecise at some point?
When I have focus on the last input field (for example the admin mail address field), entered a value and then press the Enter key while the field is still focused (not tabbing to the submit button), the focus goes back to the admin name field.

@brianteeman
Copy link
Contributor

Sorry I see what you mean now. Not that I personally have ever used the enter key to move to the next field - I didn't even know it was a thing. It seems very wrong to me that pressing enter does that. The enter should be just for submitting a form and the tab for moving to the next field.

@Hackwar Hackwar added the bug label Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants