Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 637be08

Browse files
committed
Update model on sort (fixes #974)
1 parent 2d1422d commit 637be08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/uiSelectSortDirective.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ uis.directive('uiSelectSort', ['$timeout', 'uiSelectConfig', 'uiSelectMinErr', f
9292
}
9393

9494
move.apply(theList, [droppedItemIndex, newIndex]);
95+
96+
scope.$parent.$selectMultiple.updateModel();
9597

9698
scope.$apply(function() {
9799
scope.$emit('uiSelectSort:change', {

0 commit comments

Comments
 (0)