Skip to content

Commit d70155c

Browse files
committed
fix(form-field): add missing material common module
We seem to miss the `MatCommonModule` in the form-field. This came up when doing size comparison between the MDC-based form-field.
1 parent 712ce5c commit d70155c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/material/form-field/form-field-module.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9+
import {ObserversModule} from '@angular/cdk/observers';
910
import {CommonModule} from '@angular/common';
1011
import {NgModule} from '@angular/core';
11-
import {ObserversModule} from '@angular/cdk/observers';
12+
import {MatCommonModule} from '@angular/material/core';
1213
import {MatError} from './error';
1314
import {MatFormField} from './form-field';
1415
import {MatHint} from './hint';
@@ -29,9 +30,11 @@ import {MatSuffix} from './suffix';
2930
],
3031
imports: [
3132
CommonModule,
33+
MatCommonModule,
3234
ObserversModule,
3335
],
3436
exports: [
37+
MatCommonModule,
3538
MatError,
3639
MatFormField,
3740
MatHint,

0 commit comments

Comments
 (0)