* Marks the control and all its descendant controls as `dirty`. * @see markAsDirty() * * @param opts Configuration options that determine how the control propagates changes * and emits events after marking is applied. * * `emitEvent`: When true or not supplied (the default), t
(opts: {emitEvent?: boolean} = {})
| 1049 | * |
| 1050 | */ |
| 1051 | markAllAsDirty(opts: {emitEvent?: boolean} = {}): void { |
| 1052 | this.markAsDirty({onlySelf: true, emitEvent: opts.emitEvent, sourceControl: this}); |
| 1053 | |
| 1054 | this._forEachChild((control: AbstractControl) => control.markAllAsDirty(opts)); |
| 1055 | } |
| 1056 | |
| 1057 | /** |
| 1058 | * Marks the control and all its descendant controls as `touched`. |
nothing calls this directly
no test coverage detected