Skip to content

Commit 44ca46a

Browse files
devversionmmalerba
authored andcommitted
fix(input): input module depends on forms module (#5579)
* The input module currently depends on the forms module. This is not necessary, because the input is able to work without `NgModel` or a `FormControl` as well.
1 parent c14978b commit 44ca46a

File tree

2 files changed

+115
-106
lines changed

2 files changed

+115
-106
lines changed

src/lib/input/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import {
1818
} from './input-container';
1919
import {MdTextareaAutosize} from './autosize';
2020
import {CommonModule} from '@angular/common';
21-
import {FormsModule} from '@angular/forms';
2221
import {PlatformModule} from '../core/platform/index';
2322

2423

@@ -35,7 +34,6 @@ import {PlatformModule} from '../core/platform/index';
3534
],
3635
imports: [
3736
CommonModule,
38-
FormsModule,
3937
PlatformModule,
4038
],
4139
exports: [

0 commit comments

Comments
 (0)