docs(forms): setErrors emitEvent default value (#47546)

PR Close #47546
This commit is contained in:
Álvaro Martínez
2022-09-26 09:22:50 +02:00
committed by Jessica Janiuk
parent 5782d632f5
commit 5819c8ecff
@@ -1109,6 +1109,11 @@ export abstract class AbstractControl<TValue = any, TRawValue extends TValue = T
*
* Calling `setErrors` also updates the validity of the parent control.
*
* @param opts Configuration options that determine how the control propagates
* changes and emits events after the control errors are set.
* * `emitEvent`: When true or not supplied (the default), the `statusChanges`
* observable emits an event after the errors are set.
*
* @usageNotes
*
* ### Manually set the errors for a control