Skip to content

Commit f592b75

Browse files
author
Konstantin Dinev
authored
Merge pull request #3312 from IgniteUI/bpachilova/fix-3309
fix(simple-combo): add live editing config
2 parents 8cd451a + 6e71669 commit f592b75

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

live-editing/configs/ComboConfigGenerator.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,18 @@ export class ComboConfigGenerator implements IConfigGenerator {
138138
component: 'SimpleComboCascadingComponent'
139139
}));
140140

141+
configs.push(new Config({
142+
additionalFiles: ['/src/app/services/remoteNwind.service.ts'],
143+
appModuleConfig: new AppModuleConfig({
144+
imports: ['IgxComboModule', 'IgxSimpleComboModule', 'IgxToastModule',
145+
'HttpClientModule', 'RemoteNWindService', 'SimpleComboRemoteComponent'],
146+
ngDeclarations: ['SimpleComboRemoteComponent'],
147+
ngImports: ['IgxComboModule', 'IgxSimpleComboModule', 'IgxToastModule', 'HttpClientModule'],
148+
ngProviders: ['RemoteNWindService']
149+
}),
150+
component: 'SimpleComboRemoteComponent'
151+
}));
152+
141153
configs.push(new Config({
142154
additionalFiles: ['/src/app/data/cities15000-regions-countries.ts'],
143155
appModuleConfig: new AppModuleConfig({

0 commit comments

Comments
 (0)