Saulis / iron-data-table

iron-data-table is a Web Component for displaying data as a table or grid. Built on top of iron-list using Polymer.
Apache License 2.0
147 stars 66 forks source link

Fix select all checkbox is checked when the items is an empty array #110

Closed kevinluvian closed 8 years ago

kevinluvian commented 8 years ago

When the items is set as an empty array [] , the select all checkbox is automatically checked. This line may be the issue


This change is Reviewable

Saulis commented 8 years ago

Thanks!

I did some minor tweaks to the patch and added a test also.