-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
The r/ field should not be empty is not alerted to the user.
Steps to Reproduce
- Attempt adding a user with the
r/field empty. - Observe that the result display returned does not address the issue.
Expected Behavior
Users should be prompted of the empty rate field when inputting an empty r/.
Actual Behavior
However, the result display only reminds user that the decimal place should be at most two and within the price range specified by the program.
Additional Information
Input:
add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 t/Sunday-1000-1200 s/Mathematics r/ paid/6000 owed/3000
Output:

Suggested Improvement
Consider throwing another command exception in the case of that field being empty.
Reactions are currently unavailable