Skip to content

Numeric Elements Required for Points #7

@MahnoorNaseer

Description

@MahnoorNaseer

Description:
In the Enatega web application, there is a problem with point validation. Points must only contain numeric elements, but we are encountering a type missing error.

Steps to Reproduce:
Navigate to the points entry section.
Enter a value that includes non-numeric elements.
Submit the form.
Observe the error message indicating a type missing.

Expected Behavior:
The application should validate that the points entry contains only numeric elements and provide an appropriate error message if the input is invalid.

Actual Behavior:
A type missing error is displayed, which is unclear and does not specify that the issue is with non-numeric elements in the points entry.

Possible Solution:
Improve validation logic to check for numeric elements and provide a clear error message if the input is invalid.

Environment:
Browser: [e.g., Chrome 91, Firefox 89]
OS: [e.g., Windows 10, macOS Big Sur]
Application Version: [e.g., 1.0.0]

Additional Information:
https://github.com/ninjas-code-official/shopping-cart-ecommerce/assets/166328554/39457f37-e088-404c-af44-e942e3d3128f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions