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

Negative values are allowed in Doctors list count for a facility #1504

Closed
Pranshu1902 opened this issue Aug 2, 2023 · 1 comment · Fixed by #1505
Closed

Negative values are allowed in Doctors list count for a facility #1504

Pranshu1902 opened this issue Aug 2, 2023 · 1 comment · Fixed by #1505

Comments

@Pranshu1902
Copy link
Contributor

Describe the bug
Negative values should not be allowed for Doctor Count for a facility

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.coronasafe.in/facility/657c32be-d584-476c-9ce2-0412f0e7692e
  2. Click on Add Doctor Types
  3. Add a negative value for Count and press Save Doctor Capacity
  4. See error

Expected behavior
Negative count values should be rejected by the form and the error should be displayed at the bottom of the text input.

Screenshots
image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Pranshu1902
Copy link
Contributor Author

Related to #5996

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

Successfully merging a pull request may close this issue.

1 participant