Fixed an error with ngIf that prevented the form from validating, breaking the page workflow.