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
The following error is thrown when there are 2 custom elements in a template and one has data-binding & the disable-update attribute applied to it:
polymer.html:2033 Uncaught TypeError: Cannot read property 'foo' of undefined
at HTMLElement._configValue (polymer.html:2033)
at HTMLElement._distributeConfig (polymer.html:2094)
at HTMLElement._configure (polymer.html:2053)
at HTMLElement._beforeClientsReady (polymer.html:2039)
at HTMLElement._ready (polymer-mini.html:63)
at HTMLElement._tryReady (polymer-mini.html:56)
at HTMLElement._initFeatures (polymer.html:4133)
at HTMLElement.__initialize (polymer-micro.html:233)
at HTMLElement.createdCallback (polymer-micro.html:216)
at window.Polymer (polymer-micro.html:62)
See Live Demo for full code, but here's the markup that causes the error:
<dom-moduleid="x-bar"><template><x-baz></x-baz><!-- Remove <x-baz></x-baz> and there are no errors --><x-foodisable-upgradefoo="[[foo]]"></x-foo></template></dom-module>
Steps to Reproduce
Define 2 basic custom elements, one of which should define a property
Create a custom element with a defined property and place the 2 custom elements in the element's template
Data-bind the property of the parent custom element to the child custom element in the template
Add the disable-upgrade attribute to the custom element
Expected Results
No error is thrown
Actual Results
Error is thrown.
If you either remove the other custom element from the template, or remove the data-binding, there is no error thrown.
Browsers Affected
Chrome
(I haven't tested other browsers yet)
Versions
Polymer: v1.8.0
webcomponents: not applied, using Chrome Version 57.0.2987.21
The text was updated successfully, but these errors were encountered:
Description
The following error is thrown when there are 2 custom elements in a template and one has data-binding & the
disable-update
attribute applied to it:Live Demo
http://codepen.io/JohnRiv/pen/RKeJNx?editors=1010
See Live Demo for full code, but here's the markup that causes the error:
Steps to Reproduce
disable-upgrade
attribute to the custom elementExpected Results
No error is thrown
Actual Results
Error is thrown.
If you either remove the other custom element from the template, or remove the data-binding, there is no error thrown.
Browsers Affected
(I haven't tested other browsers yet)
Versions
The text was updated successfully, but these errors were encountered: