dart-archive / polymer-dart

Polymer support for Dart
https://pub.dartlang.org/packages/polymer
BSD 3-Clause "New" or "Revised" License
181 stars 33 forks source link

Template repeat does not render items when placed inside of table #686

Closed thatbrothacodes closed 8 years ago

thatbrothacodes commented 8 years ago

I am trying to repeat rows within a table. Whenever I attempt to use the repeat feature. It does not render the results. I have used other methods of repeating items, but for some reason table rows are not rendering. `

`

jakemac53 commented 8 years ago

This is a known issue with tables and select elements, see https://github.com/dart-lang/polymer-dart/issues/623, and https://github.com/Polymer/polymer/issues/1735

joo commented 8 years ago

How to solve this issue?

jakemac53 commented 8 years ago

The workaround is to just use divs or other normal elements and style them as display: table, display: table-row, display: table-cell, etc

ghost commented 8 years ago

If it's a show stopper, just have the table element in html template, and add rows and cells dynamically. Works fine for me.

joo commented 8 years ago

Huge setback!? more ugly than version 0.5.

joo commented 8 years ago

Select elements's option, how to simulate? display: select, display: select-option, etc?

jakemac53 commented 8 years ago

Please see the issue linked above, https://github.com/Polymer/polymer/issues/1735