0

I have created a page with some form controls. In the same page I have to regenerate the same form on click of button.

How can I reuse the same form after the button has been clicked?

Vasseurth
  • 6,354
  • 12
  • 53
  • 81
Suj
  • 1

1 Answers1

0

You can use the FormGroup.reset() method - here are the official docs.

TotallyNewb
  • 3,884
  • 1
  • 11
  • 16