Skip to content

Commit 45c0de9

Browse files
authored
Merge pull request #2720 from IgniteUI/PMiteva/pickers-vNext
Fix samples not working on Stackblitz
2 parents 42174aa + 82b5354 commit 45c0de9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

live-editing/configs/DatePickerConfigGenerator.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import {IgxAutocompleteModule,
22
IgxButtonModule,
33
IgxCalendarModule,
44
IgxDatePickerModule,
5+
IgxTimePickerModule,
56
IgxDropDownModule,
67
IgxIconModule,
78
IgxInputGroupModule,
@@ -122,7 +123,7 @@ export class DatePickerConfigGenerator implements IConfigGenerator {
122123
configs.push(new Config({
123124
component: 'DateTimePickerTDFSampleComponent',
124125
appModuleConfig: new AppModuleConfig({
125-
imports: ['DateTimePickerTDFSampleComponent'],
126+
imports: ['DateTimePickerTDFSampleComponent', 'IgxDatePickerModule', 'IgxTimePickerModule'],
126127
ngDeclarations: ['DateTimePickerTDFSampleComponent'],
127128
ngImports: ['IgxDatePickerModule', 'IgxTimePickerModule']
128129
})
@@ -132,7 +133,7 @@ export class DatePickerConfigGenerator implements IConfigGenerator {
132133
configs.push(new Config({
133134
component: 'DateTimePickerRFSampleComponent',
134135
appModuleConfig: new AppModuleConfig({
135-
imports: ['DateTimePickerRFSampleComponent'],
136+
imports: ['DateTimePickerRFSampleComponent', 'IgxDatePickerModule', 'IgxTimePickerModule'],
136137
ngDeclarations: ['DateTimePickerRFSampleComponent'],
137138
ngImports: ['IgxDatePickerModule', 'IgxTimePickerModule']
138139
})

0 commit comments

Comments
 (0)