marthaegrimaldi / marthaegrimaldi/zomato-clone-source-code

delivery time accepting negative values

Open
#1,271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
2
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

Open the contributing guide

Research direction

Start from the Vendors > Add restaurant registration form and locate the Delivery time input. Reproduce the issue in Chrome with a negative value, then inspect the input's existing validation. Done means negative delivery times are rejected and the field enforces the stated positive-value and modulus-of-60 requirement.

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
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.