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
Describe the bug
Add new patient form in search patients tab allows negative age values.
To Reproduce
Steps to reproduce the behavior:
Navigate to the "Search Patients" section in the main navigation.
Select the "Add New patient" button
In the patient registration form, locate the Date of Birth field
Enter a negative number in the Age field
Observe that the system accepts negative age values without validation and the calculated year of birth is incorrectly computed based on the negative age.
Expected Behavior:
The system should prevent users from entering negative values in the Age field.
A proper validation message should be displayed when attempting to enter negative ages.
Screenshots
Desktop (please complete the following information):
OS: Ubuntu 22.04 LTS
Browser: Brave
Version
Additional context
I have already solved this issue on my local machine.
The text was updated successfully, but these errors were encountered:
Describe the bug
Add new patient form in search patients tab allows negative age values.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior:
Screenshots
Desktop (please complete the following information):
Additional context
I have already solved this issue on my local machine.
The text was updated successfully, but these errors were encountered: