Open chicomarques90 opened 7 years ago
When my md-select-id equals to zero then the UI does not select the corresponding row.
Take a look at the code snippet (file "mdSelect.js")
self.isSelected = function () { if(!tableCtrl.$$rowSelect) { return false; } if(self.id) { //<<<<<<<The problem is here because 0 equals false return tableCtrl.$$hash.has(self.id); } return tableCtrl.selected.indexOf(self.model) !== -1; };
When my md-select-id equals to zero then the UI does not select the corresponding row.
Take a look at the code snippet (file "mdSelect.js")