I try the following
new FormControl<boolean | undefined>({ value: true }, Validators.required),
and get the error that no overloads
for boolean
exists. Using
new FormControl<string | null>({ value: null, disabled: false }));
works ==> So, what is the correct syntax in Angular 14 for Typed FormControls for boolean
?