X Tutup
Skip to content

alpha.48: tbody should not wrap tr in template #5638

@todoubaba

Description

@todoubaba
@Component({
  selector: 'my-cmp',
  template: `
  <table border>
    <thead>
      <th>col1</th>
      <th>col2</th>
    </thead>
    <tbody>
      <template ng-for #rx [ng-for-of]="values">
        <tr>
          <template ng-for #ry [ng-for-of]="rx">
            <td>{{ry}}</td>
          </template>
        </tr>
      </template>
    </tbody>
  </table>
  `
})
class MyCmp {
  values = [
    [11, 12],
    [21, 22]
  ];
}

table
Elements

http://plnkr.co/edit/ZXV6pLI44IqFQbIEX4zj?p=preview

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup