0

I was using ng2-datepicker:

"ng2-datepicker": "^1.8.3",

That is compatible with my angular project but that plugin does not have minYear and maxYear options, that's why I need to update datePicker plugin to

 "ng2-datepicker": "^2.1.6",

but it is showing error to my projects

Error:

DatePickerModule is not export member of ng ng2-datepicker

DatePickerOptions is not export member of ng ng2-datepicker

I added NgDatepickerModule but it also not compatible with my project.

Community
  • 1
  • 1
Shah NIral
  • 420
  • 5
  • 15

0 Answers0