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/user/userAdd.html |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/views/user/userAdd.html b/src/main/webapp/views/user/userAdd.html
index e71b7e3..b36c13d 100644
--- a/src/main/webapp/views/user/userAdd.html
+++ b/src/main/webapp/views/user/userAdd.html
@@ -134,15 +134,18 @@
                                    <label for="userAddForm6"><span translate="users.phoneNumber">�뿰�씫泥�</span> </label>
                                    <input id="userAddForm6"
                                           type="text"
-                                          maxlength="30"
+                                          name="phone"
+                                          maxlength="11"
+                                          minlength="10"
                                           class="form-control"
                                           input-regex="[^0-9]"
                                           kr-input
                                           autocomplete="off"
-                                          ng-keyup="fn.autoHyphenPhone()"
                                           ng-model="vm.form.phone">
-                                   <small class="fc-grey"><span translate="users.contactedEnterPhone">�뿰�씫媛��뒫�븳 �빖�뱶�룿 踰덊샇瑜� �엯�젰�븯�꽭�슂.</span>
-                                   </small>
+                                   <small class="fc-grey"><span translate="users.contactedEnterPhone">�뿰�씫媛��뒫�븳 �빖�뱶�룿 踰덊샇瑜� �엯�젰�븯�꽭�슂.</span></small>
+                                   <div ng-show="userAddForm.phone.$error.minlength" class="help-block form-text text-danger"
+                                        translate="common.least10CharactersPhone">�빖�뱶�룿 踰덊샇 �삎�떇�씠 留욎� �븡�뒿�땲�떎.(10�옄由� �씠�긽)
+                                   </div>
                                </div>
                            </div>
                        </div>

--
Gitblit v1.8.0