professor and education updated
This commit is contained in:
@ -44,11 +44,11 @@ export class EducationComponent implements OnInit {
|
|||||||
this.courseForm = this.fb.group({
|
this.courseForm = this.fb.group({
|
||||||
title: ['', Validators.required],
|
title: ['', Validators.required],
|
||||||
description: [''],
|
description: [''],
|
||||||
duration: ['', Validators.required],
|
duration: [''],
|
||||||
seats: ['', [Validators.required, Validators.min(1)]],
|
seats: [''],
|
||||||
category: ['', Validators.required],
|
category: [''],
|
||||||
level: ['', Validators.required],
|
level: [''],
|
||||||
instructor: ['', Validators.required],
|
instructor: [''],
|
||||||
price: [''],
|
price: [''],
|
||||||
startDate: [''],
|
startDate: [''],
|
||||||
eligibility: [''],
|
eligibility: [''],
|
||||||
@ -59,7 +59,7 @@ export class EducationComponent implements OnInit {
|
|||||||
this.upcomingEventForm = this.fb.group({
|
this.upcomingEventForm = this.fb.group({
|
||||||
title: ['', Validators.required],
|
title: ['', Validators.required],
|
||||||
description: [''],
|
description: [''],
|
||||||
schedule: ['', Validators.required],
|
schedule: [''],
|
||||||
eventDate: [''],
|
eventDate: [''],
|
||||||
isActive: [true]
|
isActive: [true]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user