PalisadoesFoundation / talawa-admin

Admin portal for the Talawa Mobile App. Click on the link below to see our documentation
https://docs.talawa.io/
GNU General Public License v3.0
132 stars 535 forks source link

Sign-up form incorrectly treats blank spaces as special characters, causing validation errors #2283

Open syedali237 opened 1 week ago

syedali237 commented 1 week ago

Describe the bug When attempting to sign up, the form validation incorrectly recognizes blank spaces as special characters. As a result, users encounter validation errors when they input a name with spaces, even though spaces should be valid characters.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the sign-up form.
  2. Enter the first name or last name with spaces.
  3. Submit the form.

Expected behavior Spaces should be ignored, and the user should be able to submit the form without errors.

Actual behavior A validation error triggers a pop-up notification stating that only lower and upper-case characters are allowed.

Video:

https://github.com/user-attachments/assets/5b19d04c-fc3f-44e3-829a-226f57859a3d

Potential internship candidates Please read this if you are planning to apply for a Palisadoes Foundation internship https://github.com/PalisadoesFoundation/talawa/issues/359

github-actions[bot] commented 1 week ago

Congratulations on making your first Issue! :confetti_ball: If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

Sumitsh28 commented 1 week ago

@syedali237 Can I work on this issue?

syedali237 commented 1 week ago

@Sumitsh28 wait before it gets approved.

akshayw1 commented 3 days ago

Can I work on this issue?

syedali237 commented 3 days ago

@palisadoes Can you please review and assign this issue?