NonNullableFormBuilder
NonNullableFormBuilder is similar to FormBuilder, but automatically constructed
FormControl elements have {nonNullable: true} and are non-nullable.
group
FormGroup<ɵNonNullableFormControls<T>>Similar to FormBuilder#group, except any implicitly constructed FormControl
will be non-nullable (i.e. it will have nonNullable set to true). Note
that already-constructed controls will not be altered.
TFormGroup<ɵNonNullableFormControls<T>>record
FormRecord<ɵElement<T, never>>Similar to FormBuilder#record, except any implicitly constructed FormControl
will be non-nullable (i.e. it will have nonNullable set to true). Note
that already-constructed controls will not be altered.
{ [key: string]: T; }FormRecord<ɵElement<T, never>>array
FormArray<ɵElement<T, never>>Similar to FormBuilder#array, except any implicitly constructed FormControl
will be non-nullable (i.e. it will have nonNullable set to true). Note
that already-constructed controls will not be altered.
T[]FormArray<ɵElement<T, never>>control
FormControl<T>Similar to FormBuilder#control, except this overridden version of control forces
nonNullable to be true, resulting in the control always being non-nullable.
FormControl<T>