mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(forms): setErrors emitEvent default value (#47546)
PR Close #47546
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user