* Resets the touched and dirty state of the field and its descendants. * * Note this does not change the data model, which can be reset directly if desired. * * @param value Optional value to set to the form. If not passed, the value will not be changed.
(value?: unknown)
| 325 | * @param value Optional value to set to the form. If not passed, the value will not be changed. |
| 326 | */ |
| 327 | reset(value?: unknown): void { |
| 328 | untracked(() => this._reset(value)); |
| 329 | } |
| 330 | |
| 331 | private _reset(value?: unknown) { |
| 332 | this.pendingSync()?.abort(); |