Posted 14 September 2017, 2:51 am EST
If the drop-down items of wj-multi-select are modified, the drop-down does not reflect the correct state. What is the correct technique to refresh the items ?
<wj-multi-select items-source=“ProductCodes” checked-member-path=“Selected” …></wj-multi-select>
Somewhere else on the page a button is clicked that invokes this function:
$scope.testf = function () {
angular.forEach($scope.ProductCodes, function (item) {
item.Selected = false;
});
}
The displayed state of the items in the wj-multi-select control remains unchanged.