gray-mueller / gray-mueller/online-ordering-and-delivery-system-using-python
Delivery Xpress Admin Dashboard: Restrict and show error message when two same tip-Amount entered
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Duplicate Tip Amounts should not be Allowed and display some Error Message. The application currently allows users to enter the same tip amount more than once. There is no validation or error message shown when duplicate tip values are entered, which may lead to confusion or incorrect data submission.
To Reproduce
Steps to reproduce the behavior:
Navigate to the tip entry section.
Enter a tip amount (e.g., 10) in the first input field.
Enter the same amount (10) in another input field.
Observe that both entries are accepted without any error message.
Expected behavior
The system should detect duplicate tip amounts and restrict the user from entering the same value more than once. An appropriate error message should be displayed, such as:
"Duplicate tip amounts are not allowed."
Screenshots
Image
Desktop (please complete the following information):
OS: [e.g. Windows]
Browser [e.g. chrome]
Version [e.g. Latest]
Contributor guide
Assessment
This issue has not been assessed yet.