processing / processing/p5.js-web-editor

Async validation errors disappear when unrelated fields are edited

Open
#3,536 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Signup form and reproduce the flow with a taken username or invalid email, then edit password or confirmPassword. Trace how async validation errors are stored and rendered; done means username and email errors remain visible until their fields are corrected, and the password field still updates normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.