Skip to content

fix: stop Chrome offering to save passwords on the UMAP EPS field#346

Merged
lstein merged 1 commit into
masterfrom
lstein/fix/chrome-password-prompt-umap-eps
Jul 6, 2026
Merged

fix: stop Chrome offering to save passwords on the UMAP EPS field#346
lstein merged 1 commit into
masterfrom
lstein/fix/chrome-password-prompt-umap-eps

Conversation

@lstein

@lstein lstein commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Problem

Clicking in the UMAP Cluster Strength (EPS) spinner made Chrome pop up its password save/restore prompt.

Cause

The InvokeAI credential inputs in the album manager (newAlbumInvokePassword, edit-album-invoke-password) are real type="password" fields that don't live inside a <form>. Chrome groups every form-less input on the page into one synthetic form, sees a password field in it, and heuristically guesses which other field is the "username" — its guess landed on the EPS number spinner.

Fix

  • album-manager.html: annotate both credential pairs (new-album and edit-album) with autocomplete="username" / autocomplete="new-password". With the credentials explicitly annotated, Chrome no longer hunts for a username field elsewhere on the page; new-password also stops Chrome offering stored passwords in those fields.
  • umap-floating-window.html: add autocomplete="off" to umapEpsSpinner to opt it out of autofill entirely.

Testing

  • All 411 frontend Jest tests pass; prettier and eslint clean.
  • Note: if Chrome already saved a bogus credential for localhost:8050, the key icon may persist on old saved data until that entry is removed in chrome://passwords.

🤖 Generated with Claude Code

The InvokeAI credential inputs in the album manager are password fields
that live outside any <form>, so Chrome groups every form-less input on
the page into one synthetic form and heuristically picks a "username"
field for them — landing on the UMAP EPS number spinner and attaching
the password save/fill prompt to it.

Annotate the credential pairs with autocomplete="username" /
autocomplete="new-password" so Chrome no longer guesses, and add
autocomplete="off" to the EPS spinner to opt it out of autofill.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@lstein lstein merged commit 6b7ae76 into master Jul 6, 2026
9 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.

1 participant