timdeschryver/ng-signal-forms

Getting the error : NG8002: Can't bind to 'formField' since it isn't a known property of 'input'.

Closed this issue · 2 comments

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.

I have no idea what cause this issue, any idea?

Ah right, that was the issue.