OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-12-27 58b102e980498ebade894bd44b295c9a69398b6c
사용자 정의 필드 필수 항목 표시 변경 재 수정
1개 파일 변경됨
44 ■■■■ 파일 변경됨
src/main/webapp/views/customField/customFieldAdd.html 44 ●●●● 패치 | 보기 | raw | blame | 히스토리
src/main/webapp/views/customField/customFieldAdd.html
@@ -103,7 +103,7 @@
                       autocomplete="off">
                <input ng-if="vm.form.customFieldType == 'NUMBER'"
                <input ng-show="vm.form.customFieldType == 'NUMBER'"
                       name="numberType"
                       type="text"
                       class="form-control"
@@ -112,11 +112,8 @@
                       placeholder="숫자만 입력 가능합니다."
                       autocomplete="off"
                       ng-model="vm.form.defaultValue">
                <div ng-if="customFieldAddForm.numberType.$error.pattern" class="help-block form-text text-danger"
                     translate="common.invalidNumberFormat">숫자만 입력 가능합니다.
                </div>
                <input ng-if="vm.form.customFieldType == 'DATETIME'"
                <input ng-show="vm.form.customFieldType == 'DATETIME'"
                       name="dateTime"
                       class="form-control input-readonly"
                       placeholder="{{'issue.clickToSelectDate' | translate}}"
@@ -130,7 +127,7 @@
                    </div>
                </div>
                <input ng-if="vm.form.customFieldType == 'IP_ADDRESS'"
                <input ng-show="vm.form.customFieldType == 'IP_ADDRESS'"
                       name="ipAddress"
                       type="text"
                       class="form-control"
@@ -139,11 +136,8 @@
                       placeholder="IP 주소 형식만 입력 가능합니다."
                       autocomplete="off"
                       ng-model="vm.form.defaultValue">
                <div ng-if="customFieldAddForm.ipAddress.$error.pattern" class="help-block form-text text-danger"
                     translate="common.invalidipAdressFormat">IP주소 형식이 맞지 않습니다.
                </div>
                <input ng-if="vm.form.customFieldType == 'EMAIL'"
                <input ng-show="vm.form.customFieldType == 'EMAIL'"
                       name="email"
                       type="email"
                       class="form-control"
@@ -153,11 +147,8 @@
                       placeholder="이메일 형식만 입력 가능합니다."
                       autocomplete="off"
                       ng-model="vm.form.defaultValue">
                <div ng-if="customFieldAddForm.email.$error.pattern" class="help-block form-text text-danger"
                     translate="common.invalidEmailFormat">이메일 형식이 맞지 않습니다.
                </div>
                <input ng-if="vm.form.customFieldType == 'SITE'"
                <input ng-show="vm.form.customFieldType == 'SITE'"
                       name="site"
                       type="text"
                       class="form-control"
@@ -167,11 +158,8 @@
                       placeholder="홈페이지 주소 형식만 입력 가능합니다."
                       autocomplete="off"
                       ng-model="vm.form.defaultValue">
                <div ng-if="customFieldAddForm.site.$error.pattern" class="help-block form-text text-danger"
                     translate="common.invalidSiteFormat">홈페이지 주소 형식이 맞지 않습니다.(http://로 시작하셔야합니다)
                </div>
                <input ng-if="vm.form.customFieldType == 'TEL'"
                <input ng-show="vm.form.customFieldType == 'TEL'"
                       name="tel"
                       type="text"
                       maxlength="30"
@@ -181,9 +169,6 @@
                       placeholder="연락처 형식만 입력 가능합니다."
                       autocomplete="off"
                       ng-model="vm.form.defaultValue">
                <div ng-if="customFieldAddForm.tel.$error.pattern" class="help-block form-text text-danger"
                     translate="common.invalidTelFormat">전화번호 형식이 맞지 않습니다.
                </div>
                <small ng-if="vm.form.customFieldType == 'INPUT'" translate="common.upTo100Characters">
                    최대 100글자까지 입력할 수 있습니다.
@@ -197,6 +182,23 @@
                     translate="customField.selectMultiFieldListHashTag">
                    다중 선택 필드 목록에 있는 값을 기본적으로 선택하고 싶을 때는 해시태그를 사용해야합니다. ex) #대상값#대상값
                </div>
                <div ng-if="customFieldAddForm.numberType.$error.pattern && vm.form.customFieldType == 'NUMBER'" class="help-block form-text text-danger"
                     translate="common.invalidNumberFormat">숫자만 입력 가능합니다.
                </div>
                <div ng-if="customFieldAddForm.ipAddress.$error.pattern && vm.form.customFieldType == 'IP_ADDRESS'" class="help-block form-text text-danger"
                     translate="common.invalidipAdressFormat">IP주소 형식이 맞지 않습니다.
                </div>
                <div ng-if="customFieldAddForm.email.$error.pattern && vm.form.customFieldType == 'EMAIL'" class="help-block form-text text-danger"
                     translate="common.invalidEmailFormat">이메일 형식이 맞지 않습니다.
                </div>
                <div ng-if="customFieldAddForm.site.$error.pattern && vm.form.customFieldType == 'SITE'" class="help-block form-text text-danger"
                     translate="common.invalidSiteFormat">홈페이지 주소 형식이 맞지 않습니다.(http://로 시작하셔야합니다)
                </div>
                <div ng-if="customFieldAddForm.tel.$error.pattern && vm.form.customFieldType == 'TEL'" class="help-block form-text text-danger"
                     translate="common.invalidTelFormat">전화번호 형식이 맞지 않습니다.
                </div>
            </div>
        </form>