Skip to content

Commit 42e8e56

Browse files
committed
Angular Forms In Depth Course
1 parent cbe772a commit 42e8e56

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

src/app/create-course/create-course.component.ts

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,34 +7,13 @@ import {STEPPER_GLOBAL_OPTIONS} from '@angular/cdk/stepper';
77
@Component({
88
selector: 'create-course',
99
templateUrl: './create-course.component.html',
10-
styleUrls: ['./create-course.component.scss'],
11-
providers: [{
12-
provide: STEPPER_GLOBAL_OPTIONS, useValue: {showError: true}
13-
}]
10+
styleUrls: ['./create-course.component.scss']
1411
})
1512
export class CreateCourseComponent implements OnInit {
1613

1714

18-
constructor() {
19-
20-
}
21-
22-
2315
ngOnInit() {
2416

25-
26-
27-
}
28-
29-
30-
submit(step1, step2,step3) {
31-
32-
console.log("Step 1 form value", step1);
33-
34-
console.log("Step 2 form value", step2);
35-
36-
console.log("Step 3 form value", step3);
37-
3817
}
3918

4019
}

0 commit comments

Comments
 (0)