datetimepicker
datetimepicker copied to clipboard
Disable past dates
PR for https://github.com/abadi199/datetimepicker/issues/26
API:
- This adds an
earliestDateoption
UI:
- Dates outside of the range are greyed out, have no hover state, and cannot be clicked on
Future work:
- Add a
latestDateoption - Disable month/year nav to months/years that are outside of the range
- Prevent selection of a disabled date via typing
- Deal with selection of times on the same day, but after
earliestDate
(this in itself would only be a minor version bump, but this will land after #27, which will be a major version bump)
Hi there! What would it take to get this PR ready to go again? Is it just fixing merge conflicts? I can pick it up and try to help 😀
I haven't been able to look at this since August. Then I was planning to resolve https://github.com/abadi199/datetimepicker/issues/27 first, and I don't remember if there were bugs with this PR or not without #27 being fixed.