hooyushing / pe

0 stars 0 forks source link

Creating a person does not handle empty fields #4

Closed hooyushing closed 2 weeks ago

hooyushing commented 2 weeks ago

As a medical administrator, I may not have the full information of the person. Therefore, I may not be able to add this information to the addressbook. The fields should be able to handle empty fields in order to allow the administrator to add the patient regardless, especially less important fields such as email or phone. number.

It is also not mentioned in the user guide that fields cannot be empty.

Screenshot 2024-11-15 at 5.37.54 PM.png

Steps to recreate: 1) Leave a field empty (other than name) 2) Error message shown for empty string

Expected output: Patient added to addressbook Actual output: There is an error message

Screenshot 2024-11-15 at 4.25.14 PM.png