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 selection of future dates in data range filter #118

Closed
hrubyjan opened this issue Aug 27, 2021 · 2 comments
Closed

Disable selection of future dates in data range filter #118

hrubyjan opened this issue Aug 27, 2021 · 2 comments

Comments

@hrubyjan
Copy link

Yes look good to me now. I think it would also be helpful if the user is not allowed to select a date in the future. Is this possible?

Originally posted by @sabahfromlondon in #77 (comment)

@jpmckinney jpmckinney added the ui label Aug 27, 2021
@jpmckinney
Copy link
Member

Can do with a bit of JS (so that caching doesn't cause the max to be in the past) https://stackoverflow.com/questions/23671407/restrict-future-dates-in-html5-date-input

@jpmckinney
Copy link
Member

Merged into #249

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