Skip to content

Commit

Permalink
solve the issue with the campaign , now the user can create a campaign (
Browse files Browse the repository at this point in the history
#615)

Co-authored-by: skanderKhabou <[email protected]>
  • Loading branch information
skanderKha and skanderKhabou authored Oct 16, 2023
1 parent 5f5c06d commit 638df30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(''),
Expand Down

0 comments on commit 638df30

Please sign in to comment.