beenote / angular-material-datetimepicker

Date time picker for Angular Material JS
https://beenote.github.io/angular-material-datetimepicker
MIT License
44 stars 31 forks source link

Max date does not allow valid values to be selected #47

Closed ajmueller closed 6 years ago

ajmueller commented 6 years ago

Library Versions:

Reproduction Steps

  1. Set a max-date property for a datetimepicker to be 12:50pm.
  2. Try to change that datetimepicker's time to 12:00pm.
  3. You can change the hour to 12 and the minutes to 0, but the PM button is disabled, despite being a valid option.

I have reproduced the issue with a Plunker.

hexadecy commented 6 years ago

@ajmueller Can you please confirm me it's ok with v1.17.1

ajmueller commented 6 years ago

@hexadecy I've updated my Plunker and it's working great! I've also updated our main application and it's working great there, too. Thanks for such a quick turnaround!

hexadecy commented 6 years ago

Always easier to fix when there is a demo. Good works.

ajmueller commented 6 years ago

Thanks, glad to help! This project is incredibly important for us at my job, so I'm happy that someone is still maintaining it.