@@ -16,7 +16,9 @@ angular.module('luticateUtils')
$scope.pickerOptions = $scope.options();
$scope.pickerOptions.luPickerTableScope = $scope;
- $scope.pickerOptions.pickedItems = [];
+ if ($scope.pickerOptions.pickedItems == null) {
+ $scope.pickerOptions.pickedItems = [];
+ }
var onItemClicked = $scope.pickerOptions.onItemClicked;
$scope.pickerOptions.onItemClicked = function(item)