Skip to content
Snippets Groups Projects
Commit dadc206d authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

fix: Wifi validation stops make structure incomplete

parent de3fb540
No related branches found
No related tags found
3 merge requests!418V2.1.0,!401fix: Wifi validation stops make structure incomplete,!400V2.0
......@@ -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),
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment