### Which @angular/* package(s) are the source of the bug? forms ### Is this a regression? Yes ### Description When using formRecord, it wraps the value in partial, even when the values on the key exactly exist    ### Please provide a link to a minimal reproduction of the bug https://stackblitz-starters-xoj4vkjq.stackblitz.io ### Please provide the exception or error you saw ```true check the return type of the getRawValue function ``` ### Please provide the environment you discovered this bug in (run `ng version`) ```true "rxjs": "7.5.0", "tslib": "2.6.2", "zone.js": "0.14.3", "@angular/core": "17.2.3", "@angular/forms": "17.2.3", "@angular/common": "17.2.3", "@angular/router": "17.2.3", "@angular/compiler": "17.2.3", "@angular/animations": "17.2.3", "@angular/platform-browser": "17.2.3", "@angular/material": "17.0.4", "@angular/cdk": "17.1.3" ``` ### Anything else? _No response_
Activity
JeanMeche commentedon Feb 18, 2025
This seems to be an issue around the
FormRecord.setValue(which is used to infer the type ofgetRawValue())It is currently typed as
When arguably it should be
fix(forms): Fix typing on `FormRecord`. (#59993)
fix(forms): Fix typing on `FormRecord`. (angular#59993)
angular-automatic-lock-bot commentedon Mar 21, 2025
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.