-
Notifications
You must be signed in to change notification settings - Fork 93
Description
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