Skip to content
Snippets Groups Projects
Commit 19c0763e authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

fix(structureCreation): fix free wifi page validation

parent d366e0e3
No related branches found
No related tags found
3 merge requests!783V3.0.0,!741making onboarding-infos-covid-2 up to date,!726Resolve "[Structure] A la création, on peut cliquer sur Suivant sans avoir choisi le wifi"
......@@ -180,7 +180,7 @@ export class StructureFormComponent implements OnChanges, OnInit {
valid: this.structureForm.get('freeWorkShop').valid,
};
this.pagesValidation[structureFormStep.structureWifi] = {
valid: this.structureForm.get('categories').get('selfServiceMaterial').valid,
valid: this.structureForm.get('freeWifi').valid,
};
this.pagesValidation[structureFormStep.structureEquipments] = {
valid:
......
......@@ -16,7 +16,6 @@ export class StructureWifiComponent implements OnInit {
public formUtils = new FormUtils();
ngOnInit(): void {
this.validateForm.emit();
console.log('freewifi', this.structureForm.get('freeWifi').value);
}
public isInArray(formControlName: string, term: string): boolean {
return this.formUtils.isInCategoryArray(term, formControlName, this.structureForm);
......
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