Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70909

Can't bind to 'formGroup' since it isn't a known property of 'form'

$
0
0

@Awaydrasil wrote:

Hello,
I’m having an error which I’m unable to get rid off since about half a day now.
I just created a form, and when adding [formGroup], an error keeps appearing: Can't bind to 'formGroup' since it isn't a known property of 'form'.

This is the first Ionic app I’m making so I’m showing you how my code is made here :

So, I created a components.module.ts in order to have access components because I don’t know why, my tags and other pages tags generated were not working. I had to make a global component which allows my app to get pages.

Inside my SurveyPage, I want my responses to change regarding a questions list so I created a component SurveyViewComponent.
On the form I have inside SurveyViewComponent I have this error Can't bind to 'formGroup' since it isn't a known property of 'form'.
Something I tried to fix this was to copy the form and put it inside its parent (SurveyPage) and no error happened.

Does someone know why I can’t access the property formGroup in my form tag inside my SurveyViewComponent ?

Thanks,
Best regards.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70909

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>