Closed neelsbr closed 8 years ago
It seems your original date in input field is not parsable date. e.g. 'Jan 01 2016'. It seems fine with me with Chrome. Could you create a plunker example for your issue like this? https://plnkr.co/edit/lbNRAh?p=info
Never mind, it seems not working on windows IE. sigh IE..
Updated with 0.4.1. Havent' tested with IE.
I think this is fixed. Please reopen if not fixed
I have referred your test folder example and implemented this
i have used below codes in system config js map['ng2-datetime-picker'] = 'node_modules/ng2-datetime-picker/dist'; packages['ng2-datetime-picker'] = {main: 'index.js', defaultExtension: 'js'};
In my component used like this import {DateTimePickerDirective} from "ng2-datetime-picker";
html code: <input [(ngModel)]="date2" ng2-datetime-picker />
<input [(ngModel)]="date2" ng2-datetime-picker /><br/>
whenever I tap calendar icon , I am getting below error and calendar displayed partially( the day only displaying)
platform-browser.umd.js:2306 EXCEPTION: Error in ./DateTimePickerComponent class DateTimePickerComponent - inline template:6:11 platform-browser.umd.js:2306 ORIGINAL EXCEPTION: TypeError: Cannot read property 'fullName' of undefined
Can you please help me on this