I\'m new in angular 2 and i try to make a reactive form but i have some trouble. After many search in stack i found no solutions.
Here you can see my error
Don't use userForm = new FormGroup()
userForm = new FormGroup()
Use form = new FormGroup() instead.
form = new FormGroup()
And in the form use <form [formGroup]="form"> ...</form>. It works for me with angular 6
<form [formGroup]="form"> ...</form>