ng2-datetime icon indicating copy to clipboard operation
ng2-datetime copied to clipboard

there is no handleDateFromChange!

Open mohammad-shadmehr opened this issue 8 years ago • 1 comments

I have got the following start-end date range fields: <datetime #startDate name="startDate" [timepicker]="false" [ngModel]="schedule.startDate" (ngModelChange)="handleDateFromChange($event)"></datetime>

<datetime name="endDate" [timepicker]="false" [(ngModel)]="schedule.endDate" [datepicker]="datepickerOpts"></datetime> and it doesn't work throwing the following error:

ERROR TypeError: _co.handleDateFromChange is not a function

Any thought?

mohammad-shadmehr avatar Aug 03 '17 03:08 mohammad-shadmehr

You probably misspelled the name of your own method.

wartab avatar Aug 03 '17 13:08 wartab