contactlab / contactlab-ui-components

DEPRECATED - Basic UI components for ContactLab UX design pattern library
http://contactlab.github.io/contactlab-pattern-library
Apache License 2.0
30 stars 8 forks source link

<group-clab> doesn't work if the list of <button-clab>s is set by a dom-repeat template #90

Closed Arual90 closed 7 years ago

Arual90 commented 7 years ago

This works

<group-clab>
  <button-clab>[[buttons.0.name]]</button-clab>
  <button-clab>[[buttons.1.name]]</button-clab>
</group-clab>

This doesn't work

<group-clab>
  <template is="dom-repeat" items="[[buttons]]" as="btn">
    <button-clab>[[btn.name]]</button-clab>
  </template>
</group-clab>
moebiusmania commented 7 years ago

can't work out of the box, the <template is="dom-repeat">is Polymer-specific syntax but the <group-clab>environment could be different.

I'm searching for another solution...