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

Disable out of constraint dates in DateInput #6353

Closed
suprabathk opened this issue Sep 26, 2023 · 1 comment · Fixed by #6379
Closed

Disable out of constraint dates in DateInput #6353

suprabathk opened this issue Sep 26, 2023 · 1 comment · Fixed by #6379
Assignees

Comments

@suprabathk
Copy link
Contributor

Describe the bug
On selecting dates out of max & min constraint, DateInputV2 does not show any error to user.
Cannot differentiate between enabled and disabled dates

image The dates marked are out of constraint but cannot be differentiated.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any page that has DateInput.
    Ex: https://care.coronasafe.in/facility/1210229b-711a-46e6-ab0a-207c4808e32e/assets/59bf0e46-0ea6-4a78-9d6f-b6c87395bb82
  2. Scroll down to service history and click on Edit
  3. See error

Expected behavior
Dates out of constraint should be disabled and user could get an error message to not to select dates out of min and max

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
@suprabathk
Copy link
Contributor Author

I'll work on this

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

Successfully merging a pull request may close this issue.

1 participant