Hi Rafael, I tried to documented what happened on my case here: https://groups.google.com/forum/?fromgroups=#!topic/polymer-dev/zpC1xQ-WfMs
Thanks Héctor Fernando El jueves, 16 de enero de 2014 12:08:40 UTC-5, Rafael Weinstein escribió: > > Can one of you guys post a jsbin (or similar) which shows the error? > Sounds like a bug. > > > On Thu, Jan 16, 2014 at 8:43 AM, Fernando Hurtado > <[email protected]<javascript:> > > wrote: > >> I had the same issue beginning this week, fiexed with some IFs: >> >> <polymer-custom-parent> >> <template if="{{ items }}"> >> <template repeat="{{item in items}}"> >> <polymer-custom-item item="{{item}}"> >> {{item.title}} >> </polymer-custom-item> >> </template> >> </template> >> </polymer-custom-parent> >> >> Hope that helps >> >> Héctor Fernando >> >> El jueves, 16 de enero de 2014 11:29:03 UTC-5, Junius Gunaratne escribió: >> >>> I can't seem to put a JS object reference as an attribute in a template >>> repeat statement. Anyone have an idea why this doesn't work? >>> >>> This works: >>> <polymer-custom-parent> >>> <template repeat="{{item in items}}"> >>> <polymer-custom-item item="randomstring"> >>> {{item.title}} >>> </polymer-custom-item> >>> </template> >>> </polymer-custom-parent> >>> >>> This does not: >>> <polymer-custom-parent> >>> <template repeat="{{item in items}}"> >>> <polymer-custom-item item="{{item}}"> >>> {{item.title}} >>> </polymer-custom-item> >>> </template> >>> </polymer-custom-parent> >>> >>> Console error: >>> Exception caught during observer callback: TypeError: Cannot read >>> property 'length' of undefined at Element.bind ( >>> http://localhost:8888/bower_components/platform/platform.js:33:5389<http://localhost:8888/bower_components/platform/platform.js> >>> ) >>> >> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
