datetimepicker icon indicating copy to clipboard operation
datetimepicker copied to clipboard

Disable past dates

Open avh4 opened this issue 8 years ago • 3 comments

PR for https://github.com/abadi199/datetimepicker/issues/26

API:

  • This adds an earliestDate option

UI:

  • Dates outside of the range are greyed out, have no hover state, and cannot be clicked on

Future work:

  • Add a latestDate option
  • 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

avh4 avatar Aug 02 '17 22:08 avh4

(this in itself would only be a minor version bump, but this will land after #27, which will be a major version bump)

avh4 avatar Aug 18 '17 16:08 avh4

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 😀

JuanCaicedo avatar Jan 19 '18 07:01 JuanCaicedo

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.

avh4 avatar Jan 21 '18 21:01 avh4