You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @angular/* package(s) are relevant/releated to the feature request?
forms
Description
When you get the error No value accessor for form control with unspecified name attribute, there are generally two things that possibly has gone wrong:
You are using ngModel with a third party control that doesn't register a NG_VALUE_ACCESSOR. In this case you need to use ngDefaultControl on the element.
Alternatively you have forgotten to register a NG_VALUE_ACCESSOR for your custom form input:
It would be very nice if the error message Angular generated would actually suggest on of those things as being the actually problem, and thus what you should probably do to fix it, in the error message.
Alternatives considered
I mean, Angular could just leave it as is, and people can keep using Google I guess, though that is a suboptimal solution in my opinion.
indraraj26, andi-dev, mausch, mikebellcoder, LisaMabley and 23 more