OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2022-01-03 4d692a614bba9d8954cbbdad2d79424afaab0298
src/main/webapp/custom_components/js-input-autocomplete/js-input-autocomplete.js
@@ -23,6 +23,7 @@
                page : "=",
                totalPage : "=",
                inputDisabled : "=",
                customInput : "=",
            },
            templateUrl : "custom_components/js-input-autocomplete/js-input-autocomplete.html",
            link: function ($scope, $element, $attrs) {
@@ -180,7 +181,9 @@
                                $scope.$apply(function () {
                                    $scope.open = false;
                                    $scope.page = 0;
                                    $scope.search = "";
                                    if (!angular.isDefined($scope.customInput) && !$scope.customInput) {
                                        $scope.search = "";
                                    }
                                    $scope.totalPage = 0;
                                    $scope.options = [];
                                    $scope.networkSuccess = false;
@@ -301,7 +304,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 = [];