processing / processing/p5.js-web-editor
Async validation errors disappear when unrelated fields are edited
Nobody has claimed this yet.
- 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
- Go to the Signup form.
- Enter a taken username (e.g.
admin) or an **invalid email`. - Notice that the error message appears correctly.
- Now edit the
passwordorconfirmPasswordfield.
✅ Observed:
passwordfield updates correctly.
❌ Issue:
- The username/email error disappears, even though it hasn’t been fixed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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