Skip to content
Snippets Groups Projects

fix: Wifi validation stops make structure incomplete

Merged Guilhem CARRON requested to merge fix/retours-dev-v2 into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -158,7 +158,7 @@ export class formUtils {
]
),
freeWorkShop: new UntypedFormControl(structure.freeWorkShop, [Validators.required]),
freeWifi: new UntypedFormControl(null, [Validators.required]), // Field used has a pivot, not sent in final form.
freeWifi: new UntypedFormControl(null, isEditMode ? [] : [Validators.required]), // Field used has a pivot, not sent in final form.
dataShareConsentDate: new UntypedFormControl(structure.dataShareConsentDate),
personalOffers: new UntypedFormControl(structure.personalOffers),
});
Loading