msupply-foundation / mobile

Open source mobile app for medical inventory control
http://msupply.org.nz/mobile
Other
42 stars 27 forks source link

Doesn't let user to enter patient form #5417

Open AnushaUp opened 6 months ago

AnushaUp commented 6 months ago

Describe the bug

Found while testing version v8.6.8-rc01. It was existing in the previous version as well.

To reproduce

Steps to reproduce the behaviour:

  1. Go to Dispensing
  2. Try creating duplicate patient
  3. Alert will be shown and try cancelling it.
  4. Try to create patient right after cancelling
  5. See error

Expected behaviour

Patient entry should be allowed after cancelling

Proposed Solution

Leave if you don't know how to fix/implement. Edit this issue description and explain here if you know the best path of implementing the fix within the codebase.

Version and device info

Additional context

https://github.com/msupply-foundation/mobile/assets/115983430/7a5b06f7-e437-42c8-ab94-6adbc628be30