src/main/webapp/scripts/app/customField/customFieldAdd.controller.js
@@ -41,10 +41,10 @@ // 필드 유형을 변경 했을 때 문자열 필드일 경우에는 옵션 값을 초기화해준다. function changeFieldType() { if ($scope.vm.form.customFieldType === "INPUT") { $scope.vm.form.options = []; $scope.vm.form.optionText = ""; } // if ($scope.vm.form.customFieldType === "INPUT") { $scope.vm.form.name = ""; $scope.vm.form.options = []; $scope.vm.form.optionText = ""; $scope.vm.form.defaultValue = ""; } src/main/webapp/scripts/app/customField/customFieldModify.controller.js
@@ -48,6 +48,7 @@ // 사용자 정의 필드 유형이 변경될 때 기본 값 초기화 function changeCustomFieldType() { $scope.vm.form.name = ""; $scope.vm.form.defaultValue = ""; }