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
ERROR Error: No value accessor for form control with name: 'description'
at _throwError (forms.es5.js:1830)
at setUpControl (forms.es5.js:1740)
at FormGroupDirective.addControl (forms.es5.js:4711)
at FormControlName._setUpControl (forms.es5.js:5299)
at FormControlName.ngOnChanges (forms.es5.js:5217)
at checkAndUpdateDirectiveInline (core.es5.js:10812)
at checkAndUpdateNodeInline (core.es5.js:12238)
at checkAndUpdateNode (core.es5.js:12177)
at debugCheckAndUpdateNode (core.es5.js:12880)
at debugCheckDirectivesFn (core.es5.js:12821)
If I now only add ironControl to only the paper-textarea:
Because I forgot to add "paper-textarea" to the list of selectors for paper controls :(
Dead easy fix. I'll do it later today, and of course the workaround is to just add [ironControl] to your text areas.
Keep in mind that when the fix does hit your codebase, you'll need to remove the [ironControl] attribute or you will get a runtime error because the textarea will have two value accessors (Angular doesn't like that).
So, I have a question, which confuses me a bit. I have in literally only one component this html:
And this TS:
Generates this error:
If I now only add
ironControl
to only thepaper-textarea
:Everything works fine... Could you help me out to understand why only the
paper-textarea
needs the attribute?The text was updated successfully, but these errors were encountered: