you can put this method in a module and reuse it as needed resetForm(form: FormGroup) { form.reset(); Object.keys(form.controls).
確定! 回上一頁