Skip to content

Commit

Permalink
Add possibility to check options by default
Browse files Browse the repository at this point in the history
  • Loading branch information
vlafranca committed Oct 6, 2016
1 parent 167a8bf commit 6dd7cff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ionic-fancy-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ angular.module("ionic-fancy-select", ["ionic"])
var values = scope.value ? angular.copy(scope.value) : [];

angular.forEach(scope.items, function(item, key) {
// Not checked by default
item[scope.checkedProperty] = false;

var val = scope.getItemValue(item);
for (var i = 0; i < values.length; i++) {
if (val === values[i]) {
Expand Down

0 comments on commit 6dd7cff

Please sign in to comment.