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

Display error message when the invalid date is typed in the date picker field #136

Open
binduak opened this issue Oct 1, 2020 · 0 comments

Comments

@binduak
Copy link
Contributor

binduak commented Oct 1, 2020

Description
As a user
I want to see a validation message when I enter an invalid date in the date picker field
So that I can be aware that I need to re-enter the date

Acceptance criteria:
When the user keys-in a date in the date picker field, which is not valid or a past date,

Create appointment:

Upon pressing Enter key or clicking elsewhere on the screen, the date value has to be cleared

And a validation message to appear below the date picker field as please select date

Message text to be the same used for empty date picker field, i.e 'Please select date'

Edit Appointment:

No changes required. As the previously selected dates are retained upon entering a past/invalid date.

Environment
https://demo.mybahmni.org/bahmni/home/index.html#/login

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

2 participants