Skip to content

Async validation errors disappear when unrelated fields are edited #3536

Open
@amarnathgupta

Description

@amarnathgupta

p5.js version

2.16.11

What is your operating system?

Windows

Web browser and version

chrome://132.0.6834.160

Actual Behavior

When editing the username or email fields, async validation errors like "username already taken" appear correctly.
However, as soon as the user starts editing password or confirmPassword, the error messages from username or email disappear — even though the errors still exist.

Expected Behavior

Error messages for username and email should remain visible until they’re actually corrected, regardless of changes to other fields.

Steps to reproduce

🐛 Steps to Reproduce

  1. Go to the Signup form.
  2. Enter a taken username (e.g. admin) or an **invalid email`.
  3. Notice that the error message appears correctly.
  4. Now edit the password or confirmPassword field.

✅ Observed:

  • password field updates correctly.

❌ Issue:

  • The username/email error disappears, even though it hasn’t been fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting Maintainer ApprovalNeeds review from a maintainer before moving forwardBugError or unexpected behaviors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions