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: No value accessor for ''
at new t (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:15:7068)
at a (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:25:1629)
at Object.i [as setUpControl] (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:25:1067)
at t.onChanges (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:12:15603)
at e.ChangeDetector_App_0.detectChangesInRecordsInternal (eval at <anonymous> (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:20:20214), <anonymous>:62:57)
at e.detectChangesInRecords (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:20:13735)
at e.runDetectChanges (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:20:13312)
at e._detectChangesInShadowDomChildren (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:20:15154)
at e.runDetectChanges (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:20:13425)
at e.detectChanges (https://code.angularjs.org/2.0.0-alpha.45/angular2.min.js:20:13043)
Looks like this was broken by 56a9b02, per @robwormald. Previously <paper-input> would use the DefaultValueAccessor, now it doesn't get one.
A workaround is to implement your own ControlValueAccessor, probably extending from DefaultValueAccessor, with a selector that matches paper-input.
One short-term option would be to add an attribute such as ng-default-control to DefaultValueAccessor's selector, to allow that directive to be applied to an arbitrary input-like element, at least until #3011 is fixed.
Activity
alxhub commentedon Oct 29, 2015
Looks like this was broken by 56a9b02, per @robwormald. Previously
<paper-input>would use theDefaultValueAccessor, now it doesn't get one.A workaround is to implement your own
ControlValueAccessor, probably extending fromDefaultValueAccessor, with a selector that matchespaper-input.One short-term option would be to add an attribute such as
ng-default-controltoDefaultValueAccessor's selector, to allow that directive to be applied to an arbitrary input-like element, at least until #3011 is fixed.alxhub commentedon Nov 2, 2015
Addressed in #5076.
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.