|
| 1 | +import {FormsModule, ReactiveFormsModule} from '@angular/forms'; |
1 | 2 | import {IgxAutocompleteModule, |
2 | 3 | IgxButtonModule, |
3 | 4 | IgxCalendarModule, |
@@ -123,19 +124,19 @@ export class DatePickerConfigGenerator implements IConfigGenerator { |
123 | 124 | configs.push(new Config({ |
124 | 125 | component: 'DateTimePickerTDFSampleComponent', |
125 | 126 | appModuleConfig: new AppModuleConfig({ |
126 | | - imports: ['DateTimePickerTDFSampleComponent', 'IgxDatePickerModule', 'IgxTimePickerModule'], |
| 127 | + imports: ['DateTimePickerTDFSampleComponent', 'IgxDatePickerModule', 'IgxTimePickerModule', 'FormsModule'], |
127 | 128 | ngDeclarations: ['DateTimePickerTDFSampleComponent'], |
128 | | - ngImports: ['IgxDatePickerModule', 'IgxTimePickerModule'] |
| 129 | + ngImports: ['IgxDatePickerModule', 'IgxTimePickerModule', 'FormsModule'] |
129 | 130 | }) |
130 | 131 | })); |
131 | 132 |
|
132 | 133 | // date & time picker - reactive form |
133 | 134 | configs.push(new Config({ |
134 | 135 | component: 'DateTimePickerRFSampleComponent', |
135 | 136 | appModuleConfig: new AppModuleConfig({ |
136 | | - imports: ['DateTimePickerRFSampleComponent', 'IgxDatePickerModule', 'IgxTimePickerModule'], |
| 137 | + imports: ['DateTimePickerRFSampleComponent', 'IgxDatePickerModule', 'IgxTimePickerModule', 'ReactiveFormsModule'], |
137 | 138 | ngDeclarations: ['DateTimePickerRFSampleComponent'], |
138 | | - ngImports: ['IgxDatePickerModule', 'IgxTimePickerModule'] |
| 139 | + ngImports: ['IgxDatePickerModule', 'IgxTimePickerModule', 'ReactiveFormsModule'] |
139 | 140 | }) |
140 | 141 | })); |
141 | 142 |
|
|
0 commit comments