Open camiledealano opened 1 year ago
After reloading the page, I would like the md-selects I selected to come already checked, how to do it?
I have this:
<table` ng-model="ctrl.itensAvaliacao" md-row-select ng-click="ctrl.teste()"> <tr data-ng-repeat="itemAvaliacao in ctrl.paginationItens.getResultList()" md-select="ctrl.itensAvaliacao[itemAvaliacao.id]" md-select-id="{{itemAvaliacao}}"> </tr> </table> <script> $scope.itensAvaliacao = []; </script>
After reloading the page, I would like the md-selects I selected to come already checked, how to do it?
I have this: