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

Validation Missing in Profile Section Form (First Name and Last Name) #1202

Open
dhuruvandb opened this issue Dec 16, 2024 · 2 comments · May be fixed by #1203
Open

Validation Missing in Profile Section Form (First Name and Last Name) #1202

dhuruvandb opened this issue Dec 16, 2024 · 2 comments · May be fixed by #1203

Comments

@dhuruvandb
Copy link

Description:

The First Name and Last Name fields in the Profile Section form are not properly validating inputs. The following issues have been observed:

-     No validation for invalid characters: The form accepts all types of characters (including special characters, numbers, etc.) without throwing any validation errors.
-     Empty input fields: When the First Name and Last Name fields are left empty and the form is submitted, it doesn't throw any error. Instead, the previous input values are replaced with the empty input, and the user can submit the form without any errors.
-     No error on invalid input: The form does not display any error messages when invalid characters (such as numbers or special characters) are entered in the First Name and Last Name fields.

Steps to Reproduce the Behavior:

    1.     Navigate to Profile:
    
            -         Click on the profile icon located at the top right corner.
            -         You should see a card displaying the First Name, Last Name, and Email. Click that
           
    2.     Empty Input Issue:
    
              -         Click the Edit button to make changes to the profile fields.
              -         Clear the First Name and Last Name fields (leave them empty).
              -         You will see validation warnings for the empty fields.
              -         Click the Save button. Despite the warnings, the form does not prevent the submission, and the fields remain empty without any changes being saved.
    
    3.     Validation Missing:
    
            -         Click the Edit button again and enter alphanumeric or special characters in the First Name and Last Name fields.
            -         There are no validation warnings or errors shown for the invalid characters.
            -         Click the Save button. The changes are successfully saved, even though invalid characters were entered.

Screen Recorded Video for your Reference is attached below

Screen.Recording.2024-12-16.170157.mp4

Device Specifications:

  • OS: Windows 11
  • Browser:Firefox
  • Version: 133.0.3
@dhuruvandb
Copy link
Author

I have assigned this issue to myself.

dhuruvandb added a commit to dhuruvandb/idurar-erp-crm that referenced this issue Dec 16, 2024
dhuruvandb added a commit to dhuruvandb/idurar-erp-crm that referenced this issue Dec 16, 2024
@dhuruvandb dhuruvandb linked a pull request Dec 16, 2024 that will close this issue
6 tasks
@Codebreaker42
Copy link

assign it to me i want to work with this issue

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 a pull request may close this issue.

2 participants