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

fix(structures): structure creation - fix faulty validation of PMR page

parent 102d359b
Branches
Tags
2 merge requests!462V2.1.2,!447198-creation-de-structure-bt-suivant-avec-fonctionnement-etrange
......@@ -85,6 +85,8 @@
[isEditMode]="isEditMode"
[structureForm]="structureForm"
(radioChange)="onRadioChange($event)"
[isPageValid]="setValidationsForm()"
[title]="'La structure est-elle accessible pour les personnes à mobilité réduite ?'"
></app-structure-pmr>
</div>
<div *ngIf="currentStep === structureFormStep.structureWebAndSocialNetwork">
......
......@@ -8,7 +8,7 @@
[icon]="'arrowBack'"
></app-svg-icon>
<div class="titleContent">
<h3>La structure doit-elle être accessible pour les personnes à mobilité réduite&nbsp;?</h3>
<h3>{{ title ? title : 'La structure doit-elle être accessible pour les personnes à mobilité réduite ?' }}</h3>
</div>
</div>
<p class="missing-information" *ngIf="isEditMode && !structureForm.get('pmrAccess').valid">
......
......@@ -10,6 +10,7 @@ export class StructurePmrComponent implements OnInit {
@Input() isEditMode: boolean = false;
@Input() isPageValid: boolean;
@Input() nextPage: Function;
@Input() title?: string;
@Output() radioChange = new EventEmitter<any>();
@Output() validateForm = new EventEmitter<any>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment