Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Email validation to Admin Invite Dialogue #114

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Yasshhhhh
Copy link

@Yasshhhhh Yasshhhhh commented Mar 27, 2024

Fixes #112

Added email validation to invite admin.
Input box is highlighted red, error message displayed and the invite button is disabled for invalid emails.

image

image

What was changed?
All changes in account-popover.js

How was it changed?
Added a custom email validator using regex and new state variable(validEmail) to maintain logic.

@OwenAThomasson
Copy link
Collaborator

I'm fairly certain we do not want to be pushing package-lock or tconfig files, as these tend to differ between devs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Email validation is required for Invite Admin functionality
3 participants