No Value Accessor For Form Control With Unspecified Name Attribute
Solution 1:
I have solved it by simple deleting and inserting the element. Seems like this is a bit bugged. Got the same problem whit form-field-control error. Deleteing and Inserting it solved the Issue.
Solution 2:
I had a similar error, but in my case apparently it was a synchronization issue, at the moment of render the components html.
I followed some of the solutions proposed on this page but any of them worked for me, at least not completely.
What did actually solve my error was to write the below code snippet inside the father html tag of the elements
I was binding to the variable.
Code:
*ngIf="variable-name"
The error was caused, apparently by the project trying to render the page, apparently at the moment of evaluating the variable, the project just could no find its value. With the above code snippet you make sure that before rendering the page you ask if the variable has being initialized.
Post a Comment for "No Value Accessor For Form Control With Unspecified Name Attribute"