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 · 9 comments
Open

Patient Addition Proceeds Despite Invalid Phone Number Error #9010

kihan2518B opened this issue Nov 6, 2024 · 9 comments

Comments

@kihan2518B
Copy link
Contributor

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
Contributor 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
Contributor 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
Contributor 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

@Tanuj1718
Copy link
Contributor

@bodhish @rithviknishad @nihal467 This issue is resolved in the backend and we should close it. Could you please check and confirm or is there any need to keep open this issue?

@github-actions github-actions bot added needs-triage question Further information is requested labels Nov 20, 2024
@nihal467 nihal467 removed question Further information is requested needs-triage labels Nov 25, 2024
@nihal467 nihal467 self-assigned this Nov 25, 2024
@ayushsaini7717
Copy link

@Jacobjeevan can you assign this issue to me.

@Jacobjeevan
Copy link
Contributor

Jacobjeevan commented Dec 6, 2024

BE Issue #2591.

@ayushsaini7717 BE issue need to be addressed first.

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

No branches or pull requests

8 participants