delivery time accepting negative values

Open Beginner friendly
#1,850 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript, react-native

Research direction

Start in the vendors flow by opening Add Restaurant and locating the registration form's Delivery time field. Reproduce the issue in the reported Chrome environment, then trace the field's validation behavior. Done means negative values are rejected and the input follows the stated positive-value and modulus-of-60 requirement.

Written by the indexing model from the issue text.

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)

Dominant language
JavaScript
Stars
3
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from lambertf917/react-native-uber-eats-clone

All issues in lambertf917/react-native-uber-eats-clone

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.