fix(forms): getRawValue returns any instead of Object (#12599)
This commit is contained in:

committed by
vikerman

parent
778e6ad3b4
commit
09092ac3c2
@ -1016,7 +1016,7 @@ export class FormGroup extends AbstractControl {
|
||||
* If you'd like to include all values regardless of disabled status, use this method.
|
||||
* Otherwise, the `value` property is the best way to get the value of the group.
|
||||
*/
|
||||
getRawValue(): Object {
|
||||
getRawValue(): any {
|
||||
return this._reduceChildren(
|
||||
{}, (acc: {[k: string]: AbstractControl}, control: AbstractControl, name: string) => {
|
||||
acc[name] = control.value;
|
||||
|
Reference in New Issue
Block a user