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

Commit 010a373

Browse files
Artyom Fedosovaaronroberson
authored andcommitted
add: scope event for refresh (#1620)
1 parent f5888fb commit 010a373

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/uiSelectController.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ uis.controller('uiSelectCtrl',
250250
if (ctrl.dropdownPosition === 'auto' || ctrl.dropdownPosition === 'up'){
251251
$scope.calculateDropdownPos();
252252
}
253+
254+
$scope.$broadcast('uis:refresh');
253255
};
254256

255257
// See https://github.com/angular/angular.js/blob/v1.2.15/src/ng/directive/ngRepeat.js#L259

0 commit comments

Comments
 (0)