Now you can find the documentation here:
https://angular.io/api/forms/FormControlName#use-with-ngmodel-is-deprecated
So you have 3 options:
-
use Reactive forms
-
use Template driven forms
-
silence warning (not recommended)
<!-- language: lang-ts -->
imports: [
ReactiveFormsModule.withConfig({warnOnNgModelWithFormControl: 'never'});
]