Skip to content

fix(users): dev quick-login fills fields without auto-submitting - #179

Merged
antosubash merged 1 commit into
mainfrom
fix/171-dev-quick-login-tab-submits
May 25, 2026
Merged

fix(users): dev quick-login fills fields without auto-submitting#179
antosubash merged 1 commit into
mainfrom
fix/171-dev-quick-login-tab-submits

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Summary

  • Fixes Login Tab key auto-submits form when credentials are pre-filled #171: Dev quick-login buttons on the login page called submitLogin() immediately on click, which navigated away before the user could Tab between form fields
  • Removed the submitLogin(acct.email, acct.password) call from the dev account button onClick handler so the buttons now only pre-fill email and password
  • Users can inspect/modify the pre-filled credentials and Tab between fields before manually clicking "Log in"

Test plan

  • Run make dev and navigate to the login page
  • Click a dev quick-login button — fields should be filled but form should NOT auto-submit
  • Tab between email and password fields — the form should NOT submit on Tab
  • Click "Log in" manually — login should succeed with the pre-filled credentials

…ng (#171)

The dev quick-login buttons called submitLogin() immediately on click,
so the form navigated away before the user could Tab between fields.
Now the buttons only pre-fill email/password, letting the user inspect
or modify credentials before manually clicking "Log in".
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: dfdaa6b
Status: ✅  Deploy successful!
Preview URL: https://cc68ab6f.simple-module-python.pages.dev
Branch Preview URL: https://fix-171-dev-quick-login-tab.simple-module-python.pages.dev

View logs

@antosubash
antosubash merged commit fa0a471 into main May 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Login Tab key auto-submits form when credentials are pre-filled

1 participant