Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Got this error while I fulfill all requirements of reactive forms.

Here are the images of code and error

app module

users component

component html

error

question from:https://stackoverflow.com/questions/65936876/i-got-this-error-while-creating-reactive-form

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
231 views
Welcome To Ask or Share your Answers For Others

1 Answer

it is not clear from the question but if there is any child module

import formsModule and ReactiveFormsModule in child module

for example if user component is in user module, import forms module and reactive forms module there


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...