Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Issue: Rank Field Accepting Negative Values #42

Open
sandeshlavshetty opened this issue Oct 22, 2024 · 0 comments
Open

Validation Issue: Rank Field Accepting Negative Values #42

sandeshlavshetty opened this issue Oct 22, 2024 · 0 comments

Comments

@sandeshlavshetty
Copy link

Description:
The rank field in the form currently accepts negative values, whereas it should only allow natural numbers (positive integers). This is causing unexpected behavior in the application. The expected behavior is to validate the input so that only natural numbers (1, 2, 3, ...) are accepted.

Steps to Reproduce:

  1. Go to the form where the rank field is present.
  2. Enter a negative number (e.g., -1) in the rank field.
  3. Submit the form.

Expected Behavior:
The rank field should validate the input and restrict it to natural numbers only. Negative values should not be accepted.

Actual Behavior:
The form accepts negative values for the rank field without any validation errors.

Suggested Solution:
Add input validation for the rank field to ensure only positive integers are allowed.

supported screenshots:-
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant