Skip to content

Commit

Permalink
reorder
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutugiii committed Jan 27, 2025
1 parent 908a20e commit 8be9e0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/health/health-update.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
<planet-markdown-textbox i18n-placeholder placeholder="Special Needs" [formControl]="healthForm.controls.specialNeeds"></planet-markdown-textbox>
</mat-form-field>
<mat-form-field class="full-width mat-form-field-type-no-underline">
<planet-markdown-textbox i18n-placeholder placeholder="Other Notes" [formControl]="healthForm.controls.notes"></planet-markdown-textbox>
<planet-markdown-textbox i18n-placeholder placeholder="Allergies" [formControl]="healthForm.controls.allergies"></planet-markdown-textbox>
</mat-form-field>
<mat-form-field class="full-width mat-form-field-type-no-underline">
<planet-markdown-textbox i18n-placeholder placeholder="Allergies" [formControl]="healthForm.controls.allergies"></planet-markdown-textbox>
<planet-markdown-textbox i18n-placeholder placeholder="Other Notes" [formControl]="healthForm.controls.notes"></planet-markdown-textbox>
</mat-form-field>
</form>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/app/health/health-update.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export class HealthUpdateComponent implements OnInit {
emergencyContactType: '',
emergencyContact: '',
specialNeeds: '',
notes: '',
allergies: ''
allergies: '',
notes: ''
});
this.healthForm.controls.emergencyContactType.valueChanges.subscribe(value => {
this.healthForm.controls.emergencyContact.setValidators(value === 'email' ? Validators.email : null);
Expand Down

0 comments on commit 8be9e0f

Please sign in to comment.