Closed StephanBis closed 3 years ago
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
See screenshots.
To work like before MatNativeDateModule moved to /core.
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
Nevermind.. found out I was still importing MatDatepickerModule.
Describe the bug
When adding both MatDatepickerModule and MatNativeDateModule to my EventsModule, a runtime error occurs.
Minimal Reproduction
See screenshots.
Expected behavior
To work like before MatNativeDateModule moved to /core.
Screenshots
Your Environment
Angular Version:
Anything else relevant?
Datepicker version: 11.2.15