ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

[min-date] and [max-date] causes unusability #226

Open ukeOnFire opened 6 years ago

ukeOnFire commented 6 years ago

Please be specific with an example. An issue with no example or unclear requirements may be closed. Including the min-date or max-date attribute causes the datetimepicker to show only the last row of days and has them all unselectable. Also, the time is not displayed anymore.

Steps to reproduce and a minimal demo

Current behavior

Expected/desired behavior

Other information my html <input matInput [(ngModel)]="date.until" name='date' ngui-datetime-picker year="2014" month="12" day="31" hour="23" minute='59' [close-on-select]="false" [minute-step]='5' [min-hour]='04' [date-min]='2018-01-01/>