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

Patient Addition Proceeds Despite Invalid Phone Number Error #9010

Open
kihan2518B opened this issue Nov 6, 2024 · 6 comments
Open

Patient Addition Proceeds Despite Invalid Phone Number Error #9010

kihan2518B opened this issue Nov 6, 2024 · 6 comments

Comments

@kihan2518B
Copy link

Describe the bug
When adding a patient's details, entering an incorrect phone number triggers an error message, but the form still allows submission, allowing the patient to be added with invalid contact information..

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/patients'
  2. Click on 'Add Patient' button
  3. Fill up wrong contact number with less than 10 digit
  4. See error
    5.Still Can submit the details by filling other required details

Expected behavior
The form should prevent submission until the phone number is corrected to a valid format.

Actual Behaviour
The form allows submission despite the phone number error, resulting in the patient being added with incorrect contact information.

Screenshots
Image

@kihan2518B
Copy link
Author

Hey Team I want to work on this issue

@bodhish
Copy link
Member

bodhish commented Nov 6, 2024

@kihan2518B this should then fixed in the backend validation, as long as the the backend is accepting this data its not just a FE bug.

@kihan2518B
Copy link
Author

Should I raise this issue backend side?

@anuraag-5
Copy link

hey can you plz mention where's the file located with this form as i could solve this issue.

@kihan2518B
Copy link
Author

@anuraag-5 this issue needs to be solved on backend side not in frontend side

@SwanandBhuskute
Copy link
Contributor

I would like to work on this , pls assign me @bodhish @kihan2518B @rithviknishad @nihal467

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

4 participants