From 638df30df566221c818c453b5bab59c0daf0f494 Mon Sep 17 00:00:00 2001 From: skanderKha <124169513+skanderKha@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:49:30 +0100 Subject: [PATCH] solve the issue with the campaign , now the user can create a campaign (#615) Co-authored-by: skanderKhabou --- .../draft-campaign-presentation.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/campaigns/components/draft-campaign-presentation/draft-campaign-presentation.component.ts b/src/app/campaigns/components/draft-campaign-presentation/draft-campaign-presentation.component.ts index d16961864..eddbace6f 100755 --- a/src/app/campaigns/components/draft-campaign-presentation/draft-campaign-presentation.component.ts +++ b/src/app/campaigns/components/draft-campaign-presentation/draft-campaign-presentation.component.ts @@ -75,14 +75,14 @@ export class DraftCampaignPresentationComponent implements OnInit { @Inject(PLATFORM_ID) private platformId: string ) { this.form = fb.group({ - titles: ['', Validators.required], + titles: [''], title: ['', Validators.required], summary: ['', Validators.required], description: [''] // Assuming you have a description field in your formtitle }); this.render = rendererFactory.createRenderer(null, null); this.form = new UntypedFormGroup({ - titles: new UntypedFormControl('', Validators.required), + titles: new UntypedFormControl(''), title: new UntypedFormControl('', Validators.required), brand: new UntypedFormControl('', Validators.required), reference: new UntypedFormControl(''),