question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

All fields and register button set to error state when email already exist

See original GitHub issue

Bug 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.

image

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:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AnthonyNahascommented, Apr 17, 2019

I would be happy if you can make further contributions 👌 thank you

1reaction
kunceviccommented, Apr 17, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found