Hi Everybody! I'm struggling to figure out how to reset the state of a form after user submission. In Angular Reactive Forms, you are able to reset the form and call markAsPristine() to set the form back to its untouched state. Does ignite-ui have anything similar or has anybody else ran into this problem? I've looked through the documentation with no success.
Hi Brandon,
Using Anguar's FormGroup to reset a form consisted of our controls will work the way you want.
Here is a StackBlitz sample for your reference, based on this scenario.
Please, let me know if you have any questions!
Best regards,
Hristo Popov