Submitting preferences form with "enter" submits the form natively

On main discourse (61e0db0e80), when submitting the user preferences form with “enter” (e.g.: after changing the name), the form is sent natively.

This results in a GET request to the same page, and no change saved in database.

Steps to reproduce:

  1. Access the preference page
  2. Fill/change the name
  3. Hit enter
  4. Page gets reloaded.

I can not repro here on meta, just tried and it works as expected.

Can you verify here too please?

Sure, I was able to reproduce it in:

  • Firefox ESR v140.5.0esr - 64 bits in a clean profile (no plugins, no custom configuration)
  • Chromium v142.0.7444.175 with all plugins disabled

I’m running a Debian 13 and both browsers comes from the Debian repository.

1 Like