ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

Error in create dynamics form. #96

Closed ghost closed 7 years ago

ghost commented 7 years ago

ORIGINAL EXCEPTION: path.split is not a function at Ng2DatetimePickerDirective.ngOnInit (ng2-datetime-picker.directive.js:109)

I found an error in creating dynamics form with angular2.

allenhwkim commented 7 years ago

Thanks for reporting this. However, I need to reproduce this issue. Please be more detailed.

This line does not have https://github.com/ng2-ui/ng2-datetime-picker/blob/master/dist/ng2-datetime-picker.directive.js#L109

To solve this for your case, you need to create a plunker to reproduce this issue. If not, I have to assume that this case only happens on your environment.

allenhwkim commented 7 years ago

Closing for inactivity