Hi,

I've experienced almost the same problem and I've read somewhere that this 
is not supported with filters and complex objects.

I'd suggest you do:

<template repeat="{{data}}">
    <template if="{{data.isNotEmpty}}">
        <div></div>
    </template>
<template>

Also, you're not allowed to have spaces in {{}}. Try first without.

Moreover, I think that your template repeat needs to be within another 
template.

Kr,
Techar

On Wednesday, August 27, 2014 9:25:52 PM UTC+2, Kenny Williams wrote:
>
> I have a template repeat, shown below:
> <template repeat="{{ data | removeEmpty}}">
> <div>
>   <paper-input label="{{ [0] }} input description" required 
> floatingLabel></paper-input>
>  </div>
> </template>
>
> This template works fine for when the data is updated through actually 
> setting the data to be a different value so the initial render works fine 
> going through the filter. 
>
> I updated the two-way bound variable data by changing the input of a text 
> box which effectively DOES change the data. Now that the data has been 
> changed, the template should re-render. It does not. 
>
> Now if I take the filter, removeEmpty, off the template will update. Is 
> this a bug in polymer?
>

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/5ded785b-0e46-4315-96ca-da395e823f50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to