错误:无法在数字“ 10”上创建“已勾选”属性
$scope.alldepatmentdata = response.data.data[0];
if ($scope.alldepatmentdata != undefined) {
//department Name
$scope.department_name = $scope.alldepatmentdata.department_name;
$scope.user_name = $scope.alldepatmentdata.department_user_role_id
console.log($scope.user_name);
angular.forEach($scope.user_name,function(value,key)
{
console.log(value);
value.ticked = true;
});
我正在获取值,但它是showhing tick属性,并且我在html中有Ticked Prperty。 这是我的HTML
<div isteven-multi-select input-model="user_name" output-model="user_nameSelected"
button-label="icon fullname" item-label="icon fullname maker" tick-property="ticked"
ng-disabled="disabled">
</div>