From f820bc3406e6fe88660124b28507f21df6b659ab Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 금, 24 12월 2021 16:47:39 +0900 Subject: [PATCH] 이슈타입 리스트 하위 프로젝트꺼까지 다 보이도록 수정 --- src/main/webapp/custom_components/js-autocomplete-single/js-autocomplete-single.js | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/custom_components/js-autocomplete-single/js-autocomplete-single.js b/src/main/webapp/custom_components/js-autocomplete-single/js-autocomplete-single.js index e8ad598..00505d3 100644 --- a/src/main/webapp/custom_components/js-autocomplete-single/js-autocomplete-single.js +++ b/src/main/webapp/custom_components/js-autocomplete-single/js-autocomplete-single.js @@ -23,6 +23,7 @@ page : "=", totalPage : "=", inputDisabled : "=", + customInput : "=", }, templateUrl : "custom_components/js-autocomplete-single/js-autocomplete-single.html", link : function ($scope, $element, $attrs) { @@ -33,6 +34,10 @@ if (!angular.isDefined($scope.inputDisabled)) { $scope.inputDisabled = false; } + + /*if (!angular.isDefined($scope.customInput)) { + $scope.customInput = false; + }*/ $scope.options = []; // �쟾泥� 紐⑸줉 $scope.networkSuccess = false; // �넻�떊 �셿猷� �썑 �솕硫� �몴�떆. @@ -285,7 +290,9 @@ switch (event.keyCode) { case 9 : // �꺆�궎 �떕湲� $scope.open = false; - $scope.search = ""; + if (!angular.isDefined($scope.customInput) && !$scope.customInput) { + $scope.search = ""; + } $scope.page = 0; $scope.totalPage = 0; $scope.options = []; @@ -523,7 +530,9 @@ $scope.$apply(function () { $scope.open = false; if ($scope.selectedModel == null || $scope.selectedModel.length == 0) { - $scope.search = ""; + if (!angular.isDefined($scope.customInput) && !$scope.customInput) { + $scope.search = ""; + } } $scope.page = 0; $scope.totalPage = 0; -- Gitblit v1.8.0