* 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)
| 330 | * @param value Optional value to set to the form. If not passed, the value will not be changed. |
| 331 | */ |
| 332 | reset(value?: unknown): void { |
| 333 | untracked(() => this._reset(value)); |
| 334 | } |
| 335 | |
| 336 | private _reset(value?: unknown) { |
| 337 | this.pendingSync()?.abort(); |