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