I'm currently facing an error that indicates a type parameters mismatch, but I can't pinpoint where in the process it's happening.
Argument of type 'ModalUserInfoComponent' is not assignable to
parameter of type 'Type<ModalUserInfoComponent>'.
Type 'ModalUserInfoComponent' is missing the following properties from
type 'Type<ModalUserInfoComponent>': apply, call, bind, prototype, and
5 more.
To showcase this issue, I've prepared a stackblitz. The functionality seems to be affected due to issues with passing form builder data correctly.
In the stackblitz example, you'll see that the modal only returns the first and last names while the rest of the fields are missing.
There's another related error that I need to investigate further.
Error: "ExpressionChangedAfterItHasBeenCheckedError: Expression has
changed after it was checked. Previous value: 'form: undefined'.
Current value: 'form: [object Object]'. It seems like the view has been
created after its parent and its children have been dirty checked. Has
it been created in a change detection hook ?"