angular input form control no value accessor for form control with unspecified name attribute code example
Example: ERROR Error: No value accessor for form control with unspecified name attribute
Add ngDefaultControl attribute to the element that carries the [(ngModel)] attribute.