fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
246 stars 247 forks source link

Issue with setting end date when time picker is off #505

Open declanthomaskearney opened 1 year ago

declanthomaskearney commented 1 year ago

Versions Angular version: 14.2.6 component version: 6.0.4

Describe the bug When timepicker is off and end date is not selected, clicking apply will fail

To Reproduce Steps to reproduce the behavior:

  1. Open Date Picker
  2. Select Start Date only
  3. Click Apply
  4. Dates will not be set and console error appears: TypeError: Cannot read properties of undefined (reading 'selectedHour')

Expected behavior Dates should be set with end date matching start date

hannata commented 1 year ago

any update on the below ? as im still having the same issue @declanthomaskearney