Closed wgf4242 closed 6 years ago
this issue maybe a typo: ElDataPicker
=> ElDateModule
.
All submodules please see here
I used ElChildModules.ElDateModule
or ElChildModules.ElDateModule.forRoot()
, then got another error
preview-e0903b47b015eda0b7ee.js:1 ERROR Error: StaticInjectorError(AppModule)[ElInput -> ElFormItem]: StaticInjectorError(Platform: core)[ElInput -> ElFormItem]:
apparent, date component depend on input component.
Issue Type:
Version & Environment:
ng 5.
Description:
Unexpected value 'undefined' imported by the module 'AppModule'
https://stackblitz.com/edit/angular-el-angular-test
[Solved] Thanks to WittBulter
imports:[ ElChildModules.ElInputsModule.forRoot(), ElChildModules.ElDateModule.forRoot() ]