To reset an Angular form without triggering the validation 1, you can use the resetForm() method of the FormGroupDirective class. Here's an example:.
確定! 回上一頁