Fix recommendation typo

test
dan 2019-07-22 00:59:58 -06:00
parent 70817ad3a0
commit 59c4f9f89e
2 changed files with 4 additions and 4 deletions

View File

@ -207,13 +207,13 @@
<mat-form-field class="w-100" floatLabel="never"> <mat-form-field class="w-100" floatLabel="never">
<textarea matInput type="text" placeholder="Your Answer" formControlName="fellowshipAssocation" required></textarea> <textarea matInput type="text" placeholder="Your Answer" formControlName="fellowshipAssocation" required></textarea>
</mat-form-field> </mat-form-field>
<label id="collegeRecomendationsLabel">To a young person asking you to recommend a Christian College, list two or three Christian Colleges, in order of preference, which you would recommend?</label> <label id="collegeRecommendationsLabel">To a young person asking you to recommend a Christian College, list two or three Christian Colleges, in order of preference, which you would recommend?</label>
<label class="sub">Please list the name, city, and state for each</label> <label class="sub">Please list the name, city, and state for each</label>
<div *ngIf="form.get('collegeRecomendations').errors?.minColleges && (form.touched || form.dirty)" class="error"> <div *ngIf="form.get('collegeRecommendations').errors?.minColleges && (form.touched || form.dirty)" class="error">
{{form.get('collegeRecomendations').errors?.minColleges}} {{form.get('collegeRecomendations').errors?.minColleges}}
</div> </div>
<ol> <ol>
<li formArrayName="collegeRecomendations" *ngFor="let college of collegeRecommendationFormArray().controls; let i = index;"> <li formArrayName="collegeRecommendations" *ngFor="let college of collegeRecommendationFormArray().controls; let i = index;">
<div [formGroupName]="i"> <div [formGroupName]="i">
<mat-form-field floatLabel="never" class="w-100"> <mat-form-field floatLabel="never" class="w-100">
<mat-label>Name</mat-label> <mat-label>Name</mat-label>

View File

@ -65,7 +65,7 @@ export class MissionaryFormPageComponent implements OnInit {
rateOfSuccess: ['', Validators.required], rateOfSuccess: ['', Validators.required],
predestination: ['', Validators.required], predestination: ['', Validators.required],
fellowshipAssocation: ['', Validators.required], fellowshipAssocation: ['', Validators.required],
collegeRecomendations: this.formBuilder.array([this.createCollegeRecommendation(),this.createCollegeRecommendation(),this.createCollegeRecommendation()], this.minCollegeValidator), collegeRecommendations: this.formBuilder.array([this.createCollegeRecommendation(),this.createCollegeRecommendation(),this.createCollegeRecommendation()], this.minCollegeValidator),
admittedWrong: ['', Validators.required], admittedWrong: ['', Validators.required],
divorced: [undefined, Validators.required], divorced: [undefined, Validators.required],
groundsForRemarry: [undefined, Validators.required], groundsForRemarry: [undefined, Validators.required],