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 > DoB > Allow a valid date entry by typing #5157

Closed
arjunSussol opened this issue Mar 24, 2023 · 2 comments · Fixed by #5235
Closed

Patient > DoB > Allow a valid date entry by typing #5157

arjunSussol opened this issue Mar 24, 2023 · 2 comments · Fixed by #5235
Assignees
Labels
Bug: ???? Placeholder; replace with 'development' or 'production' tester: Anusha

Comments

@arjunSussol
Copy link
Contributor

Describe the bug

Patient > DoB field, the DoB reset in completedForm in back-end code if you try to enter a date by typing instead of using date picker. As this cause issue in #5132, I just disabled the date entry by typing.

In future we have to make it functional. One should allow to enter a valid date by typing and datePicker.

To reproduce

Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour

A clear and concise description of what you expected to happen.

Proposed Solution

In future we have to make it functional. One should allow to enter a valid date by typing and datePicker.

Version and device info

  • App version:
  • Tablet model:
  • OS version:

Additional context

Add any other context about the problem here.

@arjunSussol arjunSussol added the Bug: ???? Placeholder; replace with 'development' or 'production' label Mar 24, 2023
@bipinraiTMF bipinraiTMF linked a pull request Jun 20, 2023 that will close this issue
5 tasks
arjunSussol added a commit that referenced this issue Jun 21, 2023
@AnushaUp
Copy link

AnushaUp commented Jul 10, 2023

Testing

Tested in v8.6.6-rc02
Steps to reproduce or otherwise test the changes of this PR:

  • Store must be a dispensary.
  • Navigate to dispensing and click on New Patient.
  • Enter the required field and enter the date and hit enter.
  • Even after hitting the enter, the Save button shouldn't be disabled.
  • OR enter the age and hit enter, again the Save button shouldn't be disabled.

@AnushaUp
Copy link

@arjunSussol Tested and passed👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: ???? Placeholder; replace with 'development' or 'production' tester: Anusha
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants