PolymerElements / iron-selector

Manages a list of elements that can be selected
32 stars 55 forks source link

Impossible to set selected-values on elements created with dom-repeat #43

Closed vescoyez closed 9 years ago

vescoyez commented 9 years ago
<paper-menu multi selected-values="[0]">
  <template is="dom-repeat" items="{{items}}">
    <paper-item>
      <span>{{item.name}}</span>
    </paper-item>
  </template>
  <paper-item>
    <span>test</span>
  </paper-item>
</paper-menu>

For example that code select the 'test' item