Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 433 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 433 Bytes

DatePicker

Usage:

this.date = new Date();
<md-datetimepicker required="" placeholder="Start Date" [(ngmodel)]="date">
</md-datetimepicker>

With Form

<md-datetimepicker required="" placeholder="Start Date" formcontrolname="date">
  <error [hidden]="myForm.controls['date'].valid || myForm.controls['date'].pristine" align="start">Start Date required</error>
</md-datetimepicker>

Thanks