From 5d9dba7601c1c0f50c835afd1b805c9da41bd0cb Mon Sep 17 00:00:00 2001 From: wyu <kknd09321@nate.com> Date: 금, 07 1월 2022 13:38:58 +0900 Subject: [PATCH] 연락처 입력시 하이픈 X 조회할때만 하이픈 구분 (지역, 핸드폰 번호) --- src/main/webapp/views/issue/issueAddDown.html | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/issue/issueAddDown.html b/src/main/webapp/views/issue/issueAddDown.html index 1cc0a16..0b3cd3f 100644 --- a/src/main/webapp/views/issue/issueAddDown.html +++ b/src/main/webapp/views/issue/issueAddDown.html @@ -454,7 +454,11 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.companyUrl" + ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> + <div ng-show="issueAddDownForm.companyUrl.$error.pattern" class="help-block form-text text-danger" + translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> </div> </div> <div class="col-lg-4"> @@ -582,7 +586,11 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.ispUrl" + ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> + <div ng-show="issueAddDownForm.ispUrl.$error.pattern" class="help-block form-text text-danger" + translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> </div> </div> <div class="col-lg-4"> @@ -710,7 +718,11 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.hostingUrl" + ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> + <div ng-show="issueAddDownForm.hostingUrl.$error.pattern" class="help-block form-text text-danger" + translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> </div> </div> <div class="col-lg-4"> -- Gitblit v1.8.0