mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(forms): I indroduced a minor error in a previous PR: pendingValue is a value not a boolean flag. (#44450)
The bug should have no effect since it's a typings-only, internal-only bug, but it's good to fix nonetheless. PR Close #44450
This commit is contained in:
parent
e4839939b0
commit
815d4ceeef
1 changed files with 8 additions and 2 deletions
|
|
@ -1230,8 +1230,14 @@ export abstract class AbstractControl {
|
|||
export class FormControl extends AbstractControl {
|
||||
/** @internal */
|
||||
_onChange: Array<Function> = [];
|
||||
/** @internal */
|
||||
_pendingValue: boolean = false;
|
||||
|
||||
|
||||
/**
|
||||
* This field holds a pending value that has not yet been applied to the form's value.
|
||||
* It is `any` because the value is untyped.
|
||||
* @internal
|
||||
*/
|
||||
_pendingValue: any;
|
||||
|
||||
/** @internal */
|
||||
_pendingChange: boolean = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue