These are chat archives for AngularClass/angular2-webpack-starter

21st
Feb 2017
Girish Rathod
@RathodGirish
Feb 21 2017 05:04
Hi guys I need some help. I am using https://github.com/ng2-ui/ng2-datetime-picker for datetime picker
But it only works when I use type="date" in input field.
              <input class="form-control"
                  id="DateAvailable" name="DateAvailable" placeholder="Date" type="date" #DateAvailable="ngModel" 
                  [ngModel]="property.DateAvailable"  ng2-datetime-picker
                  (change)="propAvailableDateChange()"
                  date-format="MM-DD" 
                  date-only="false" />
I want to open picker on input click.
Please any suggestions?