Skip to content

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

@waleedahmedhere

Description

@waleedahmedhere

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions