diff --git a/lib/core/src/lib/material.module.ts b/lib/core/src/lib/material.module.ts index db48c43b07f..87347e9bbaf 100644 --- a/lib/core/src/lib/material.module.ts +++ b/lib/core/src/lib/material.module.ts @@ -16,6 +16,7 @@ */ import { NgModule } from '@angular/core'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatDatetimepickerModule, MatNativeDatetimeModule } from '@mat-datetimepicker/core'; import { MatFormFieldModule } from '@angular/material/form-field'; import { MatAutocompleteModule } from '@angular/material/autocomplete'; @@ -47,6 +48,8 @@ import { MatBadgeModule } from '@angular/material/badge'; /** @deprecated This module is deprecated and will be removed in a future release. */ @NgModule({ imports: [ + FormsModule, + ReactiveFormsModule, MatAutocompleteModule, MatButtonModule, MatCardModule, @@ -79,6 +82,8 @@ import { MatBadgeModule } from '@angular/material/badge'; MatFormFieldModule ], exports: [ + FormsModule, + ReactiveFormsModule, MatAutocompleteModule, MatButtonModule, MatCardModule,