There is no directive with "exportAs" set to "ngModel" code example
Example: no directive found with exportas 'ngmodel' angular 10
Check that you have imported the component itself for which you are trying to use the form.
Check that you have imported the component itself for which you are trying to use the form.