gray-mueller / gray-mueller/milk-delivery-app-react
delivery time accepting negative values
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
the average time for food delivery is accepting negative values which it shouldn't at all
To Reproduce
Steps to reproduce the behavior:
Go to 'vendors'
Click on 'add restaurant'
Scroll down to 'registration form'>> Delivery time
See error
Expected behavior
input should be +ve and with a modulus of 60
Screenshots
image
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Version 122.0.6261.95 (Official Build) (64-bit)
Contributor guide
Research direction
Start in the vendors flow by opening Add Restaurant and locating the registration form's Delivery time field. Reproduce the issue in Chrome with a negative value, then verify the field rejects negative input and enforces the stated modulus-of-60 requirement. Done means the invalid value can no longer be accepted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100