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

Address Field Accepts Numbers-Only Input – Should Require Alphanumeric Format

Open
#1,067 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
The address field is currently accepting inputs that contain only numbers (e.g., "12345") as valid addresses. While it does allow letters as well, it should not accept purely numeric input, since a valid address typically includes both letters and numbers (e.g., street names).

To Reproduce
Steps to reproduce the behavior:

Navigate to a form with the address field (e.g., store creation or user profile)

Enter a numeric-only value such as "12345" into the address field

Submit the form

Observe that the form is accepted without any validation error

Expected behavior
The address field should require at least one alphabetical character in addition to numbers. It should not allow submission if the input is numbers-only.

Screenshots

Image

Desktop (please complete the following information):

OS: Windows 11

Browser: Chrome

Additional context
Allowing numbers-only input can lead to invalid or unusable address data. Implementing proper validation to enforce a realistic address format will improve data quality and system reliability.

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

Search the store creation and user profile forms for the address field and its existing validation. Reproduce the numeric-only submission, then update the relevant validation so an address must contain at least one alphabetical character; verify that numeric-only input is rejected while mixed alphanumeric input remains accepted.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.