Closed JulienLecoq closed 2 months ago
I tried a basic example with just the following code in the template:
<div> <label>Name</label> <input ngModel [formField]="form.controls.email"/> </div>
And I'm getting this error (the one from the title).
The FormsModule is imported inside the imports: [] array.
imports: []
I have no idea what cause this issue, any idea?
Have you imported the SignalInputDirective? Example: https://github.com/timdeschryver/ng-signal-forms/blob/main/apps%2Fexample%2Fsrc%2Fapp%2Fbasic-form%2Fbasic-form.component.ts
SignalInputDirective
Ah right, that was the issue.
I tried a basic example with just the following code in the template:
And I'm getting this error (the one from the title).
The FormsModule is imported inside the
imports: []
array.I have no idea what cause this issue, any idea?