Skip to content

Commit 861e14a

Browse files
authored
Merge pull request #3494 from IgniteUI/dTsvetkov/fix-stepper-live-editing-vnext
fix(reactive-forms-stepper): add live-editing reactive forms module
2 parents d9b3c06 + d377f52 commit 861e14a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

live-editing/configs/StepperConfigGenerator.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
IgxSelectModule,
1212
IgxIconModule
1313
} from 'igniteui-angular';
14+
import { ReactiveFormsModule} from '@angular/forms'
1415
import { AppModuleConfig, Config, IConfigGenerator } from 'igniteui-live-editing';
1516

1617
export class StepperConfigGenerator implements IConfigGenerator {
@@ -35,11 +36,11 @@ export class StepperConfigGenerator implements IConfigGenerator {
3536
configs.push(new Config({
3637
component: 'StepperSampleReactiveFormsComponent',
3738
appModuleConfig: new AppModuleConfig({
38-
imports: ['StepperSampleReactiveFormsComponent', 'IgxStepperModule', 'IgxMaskModule', 'IgxInputGroupModule', 'IgxButtonModule',
39+
imports: ['ReactiveFormsModule', 'StepperSampleReactiveFormsComponent', 'IgxStepperModule', 'IgxMaskModule', 'IgxInputGroupModule', 'IgxButtonModule',
3940
'IgxRadioModule', 'IgxCardModule', 'IgxCheckboxModule', 'IgxSelectModule',
4041
'IgxIconModule', 'IgxBadgeModule'],
4142
ngDeclarations: ['StepperSampleReactiveFormsComponent'],
42-
ngImports: ['IgxStepperModule', 'IgxMaskModule', 'IgxInputGroupModule', 'IgxButtonModule',
43+
ngImports: ['ReactiveFormsModule', 'IgxStepperModule', 'IgxMaskModule', 'IgxInputGroupModule', 'IgxButtonModule',
4344
'IgxRadioModule', 'IgxCardModule', 'IgxCheckboxModule', 'IgxSelectModule',
4445
'IgxIconModule', 'IgxBadgeModule']
4546
}),

0 commit comments

Comments
 (0)