lambertf917 / lambertf917/cafe-ordering-system-using-react-js

Add on showing error for value greater than 0

Open
#212 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Add on showing error for value greater than 0

To Reproduce
Steps to reproduce the behavior:

Go to restaurants>> addons >>see error
Expected behavior
it should not take negative value and accept value greater than 0

Screenshots
image
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

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.

Research direction

Reproduce the issue in the Restaurants > Addons screen using Chrome on Windows and inspect the validation entry point for the addon value. Confirm the expected behavior for negative values and values greater than zero, then verify that the error no longer appears for valid positive values.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.