All fields and register button set to error state when email already exist
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Repro steps
Create user with the existing email
In case user all the fields and button just gets coloured red after you click register button and all fields gets blanked.
Desired functionality
Solution 1: just to color the email field red (name, password and button must stay like it is with no error state). It would be great to leave the username text so user do not have to type it again
Solution 2: to use remote validation to check if email exist during user typing.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How do I check if email already exists using MERN
Here is a full solution to display errors from register api (both express-validations and user is already registered error).
Read more >Your personal details match the profile which already exists
You would get this error because your passport number matches another profile that already exists on the CGI Federal or USTravelDocs website.
Read more ><input type="email"> - HTML: HyperText Markup Language
A Boolean attribute which, if present, means this field cannot be edited by the user. Its value can, however, still be changed by...
Read more >Duplicate email / email already exists / can't add account
Click anywhere on the error message to bring you to the duplicate account. Update the Account Status to Active if needed. Click Save....
Read more >A user with this name already exists error in Microsoft 365 portal
This issue may occur if the user name is already used or if an existing email address that's based on the user name...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would be happy if you can make further contributions 👌 thank you
Yeah i thought so that the Solution 2 might be more hard to implement. I will see what I can do in regards of implementing a PR based on Solution 1. Might take some time until I be able to start on that but I am looking forward to that.