More than one custom value accessor matches form control with unspecified name attribute
StephanBis opened this issue · 1 comments
StephanBis commented
Describe the bug
When adding both MatDatepickerModule and MatNativeDateModule to my EventsModule, a runtime error occurs.
More than one custom value accessor matches form control with unspecified name attribute
Minimal Reproduction
See screenshots.
Expected behavior
To work like before MatNativeDateModule moved to /core.
Screenshots
Your Environment
Angular Version:
Angular CLI: 12.0.3
Node: 14.17.0
Package Manager: npm 7.16.0
OS: win32 x64
Anything else relevant?
Datepicker version: 11.2.15
StephanBis commented
Nevermind.. found out I was still importing MatDatepickerModule.