ngModel cannot be used to register form controls with a parent formGroup directive

The answer is right on the error message,
you need to indicate that it’s standalone and therefore it doesn’t conflict with the form controls:

[ngModelOptions]="{standalone: true}"

Leave a Comment