Open farooqhanif-Dev opened 7 years ago
here is my html:
<select selector multi="true" model="mySelectedOptions" remote="myOptions" change="updateMySelectedOptions" value-attr="optionIdAlt" view-item-template="'selectedOptionsTemplate'" dropdown-item-template="'availableOptionsTemplate'"></select>
and here is the snippet from controller: $scope.updateMySelectedOptions= function(newValue, oldValue) { }
$scope.updateMySelectedOptions= function(newValue, oldValue) { }
Try as follows:
in the controller: $scope.updateMySelectedOptions= function(oldValue, newValue) { }
$scope.updateMySelectedOptions= function(oldValue, newValue) { }
and in your html: change="updateMySelectedOptions(oldValue, newValue)"
change="updateMySelectedOptions(oldValue, newValue)"
here is my html:
<select selector multi="true" model="mySelectedOptions" remote="myOptions" change="updateMySelectedOptions" value-attr="optionIdAlt" view-item-template="'selectedOptionsTemplate'" dropdown-item-template="'availableOptionsTemplate'"></select>
and here is the snippet from controller:
$scope.updateMySelectedOptions= function(newValue, oldValue) { }