You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PersonalInfo component has some issues with its validation logic. There are discrepancies between the expected error messages and the conditions being checked.
Steps to Reproduce
Open the PersonalInfo component.
Check the validation function for input fields.
Attempt to submit the form with incomplete or incorrect data.
Expected Behavior
The validation should correctly identify and return appropriate error messages for:
Missing name
Invalid email format
Non-positive age
Current Behavior
Upon checking the validation function, the error messages do not align with their respective conditions. The following mismatches were observed:
The error message for name validation incorrectly references age.
The error message for email validation incorrectly references name.
The age validation check does not properly validate positive numbers.
Suggested Investigation
Fix the issues.
The text was updated successfully, but these errors were encountered:
The
PersonalInfo
component has some issues with its validation logic. There are discrepancies between the expected error messages and the conditions being checked.Steps to Reproduce
PersonalInfo
component.Expected Behavior
The validation should correctly identify and return appropriate error messages for:
Current Behavior
Upon checking the validation function, the error messages do not align with their respective conditions. The following mismatches were observed:
Suggested Investigation
Fix the issues.
The text was updated successfully, but these errors were encountered: