Answers for "core.js:4197 ERROR NullInjectorError: R3InjectorError(AppModule)[DateAdapter -> DateAdapter -> DateAdapter]: NullInjectorError: No provider for DateAdapter!"

2

no provider for dateadapter unit test

imports: [
    MatDatepickerModule,
    MatNativeDateModule 
  ],
  providers: [  
    MatDatepickerModule,  
  ],
Posted by: Guest on July-08-2020
0

MatDatepicker: No provider found for DateAdapter. You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation

import {MatNativeDateModule} from '@angular/material';
Posted by: Guest on May-05-2020

Code answers related to "core.js:4197 ERROR NullInjectorError: R3InjectorError(AppModule)[DateAdapter -> DateAdapter -> DateAdapter]: NullInjectorError: No provider for DateAdapter!"

Browse Popular Code Answers by Language