diff --git a/support-portal-frontend/src/app/component/education/education.component.ts b/support-portal-frontend/src/app/component/education/education.component.ts index a48fbbf..360e7e6 100644 --- a/support-portal-frontend/src/app/component/education/education.component.ts +++ b/support-portal-frontend/src/app/component/education/education.component.ts @@ -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] });