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

Add support for "minDate" and "maxDate" to "Today" button on datepicker action bar #5227

Closed
AlMck2 opened this issue Apr 5, 2022 · 0 comments · Fixed by #5247
Closed

Add support for "minDate" and "maxDate" to "Today" button on datepicker action bar #5227

AlMck2 opened this issue Apr 5, 2022 · 0 comments · Fixed by #5247

Comments

@AlMck2
Copy link

AlMck2 commented Apr 5, 2022

Environment

  • Package version(s): 3.23.1
  • Browser and OS versions: Google Chrome 99.0.4844.74 on Mac OS 12.3.1

Feature request

It would be really nice if the "Today" button on the action bar respected "minDate" and "maxDate"

Examples

When I have "minDate" set in the future, "Today" button should be disabled, or at least shouldn't set the date.
When I have "maxDate" set in the past, "Today" button should be disabled, or at least shouldn't set the date.

@AlMck2 AlMck2 changed the title Add support for "minDate" and "maxDate" to "Today" button Add support for "minDate" and "maxDate" to "Today" button on datepicker action bar Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants