ControlsOf always assumes that field is a FormGroup #129
Unanswered
GrzegorzWziatek
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The answer is in the docs. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a interface, that have some flat controls and one which is containing object as value.
then when I try to create FormGroup I have an error
The issue is that it wants seaport to be a FormGroup instance:

Is there anything I can do to get this working?
I've done this:
seaport: new FormControl<Seaport>(values?.seaport) as any
but I don't think it's good ideaBeta Was this translation helpful? Give feedback.
All reactions