Skip to content
This repository was archived by the owner on Mar 2, 2018. It is now read-only.
This repository was archived by the owner on Mar 2, 2018. It is now read-only.

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

@ukeOnFire

Description

@ukeOnFire

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

  • include date time picker in html
  • set [min-date]='2018-01-01' or [max-date]='someDate'

Current behavior

  • no selectable dates at all, time not displayed

Expected/desired behavior

  • disable dates lower than value set in [min-date] or higher than value set in [max-date]
  • display time

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/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions