Skip to content

Commit

Permalink
Fix: filter dropdown items after value update
Browse files Browse the repository at this point in the history
Closes #29
  • Loading branch information
indrimuska committed Mar 9, 2016
1 parent fd0e064 commit 90961a6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-selector",
"version": "1.3.0",
"version": "1.3.1",
"authors": [
"Indri Muska <indrimuska@gmail.com>"
],
Expand Down
1 change: 1 addition & 0 deletions dist/angular-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@
scope.$watch('value', function (newValue, oldValue) {
if (angular.equals(newValue, oldValue) || scope.remote) return;
scope.updateSelected();
scope.filterSelected();
}, true);

// DOM event listeners
Expand Down
Loading

0 comments on commit 90961a6

Please sign in to comment.