form : FormGroup; onSubmit(){ //checks if form is valid if( this.form.valid){ //more code here } }
確定! 回上一頁