Hi,
I'm using this datetime-picker (Ionic 3v), followed Readme instructions as follows
Installed in my project using npm
Imported it in my app module
Used it in my component
But when i click on ion-datetime getting Error like below
this.input.isFocus is not a function
at DatetimePickerDirective.open
I went to picker.directive.js file and removed
if (this.input.isFocus() || this.input._disabled) { return; }
and
this.input._fireFocus(); and this.input._fireBlur(); lines from code,
Then it worked means it displayed the date picker perfectly
But when i select date and click on Done button, date value not coming and also when i re-open date picker it is showing NaN in all dates.
Can you please check this?
After re-open date picker by click on it opened like this:
Hi, I'm using this datetime-picker (Ionic 3v), followed Readme instructions as follows
But when i click on ion-datetime getting Error like below
this.input.isFocus is not a function at DatetimePickerDirective.open I went to picker.directive.js file and removed![screen shot 2017-09-23 at 4 23 13 pm](https://user-images.githubusercontent.com/20596424/30772564-af52312c-a07b-11e7-82f5-b9f62dc40399.png)
if (this.input.isFocus() || this.input._disabled) { return; }
andthis.input._fireFocus();
andthis.input._fireBlur();
lines from code, Then it worked means it displayed the date picker perfectly But when i select date and click on Done button, date value not coming and also when i re-open date picker it is showing NaN in all dates. Can you please check this? After re-open date picker by click on it opened like this: