submitted = false; onSubmit() { this.submitted = true; }