Commit b44fe245 authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #10659 from totten/master-crmuiselect

CRM-20871 - crmUiSelect - UI should stay in sync with model
parents 8e998f78 93a007ce
......@@ -576,6 +576,7 @@
.directive('crmUiSelect', function ($parse, $timeout) {
return {
require: '?ngModel',
priority: 1,
scope: {
crmUiSelect: '='
},
......@@ -611,7 +612,6 @@
element.crmSelect2(scope.crmUiSelect || {});
if (ngModel) {
element.on('change', refreshModel);
$timeout(ngModel.$render);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment