mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
426af91a42
The new `FormRecord` entity introduced in Angular v14 does not have its builder method.
This commit adds it, allowing to write:
```
const fb = new FormBuilder();
fb.record({ a: 'one' });
```
This works for both the `FormBuilder` and the `NonNullableFormBuilder`
PR Close #46485