개인정보 변경 팝업 length추가.

This commit is contained in:
DESKTOP-E9DJS27\etribe
2025-06-14 11:35:25 +09:00
parent 2c7c7894df
commit 1d8351c586
3 changed files with 28 additions and 26 deletions

View File

@@ -21,7 +21,7 @@
<label for="password" class="label-txt">비밀번호</label>
</div>
<div class="input-field">
<input type="password" id="password" placeholder="비밀번호 4자리를 입력해 주세요" name="password">
<input type="password" id="password" placeholder="비밀번호 4자리를 입력해 주세요" name="password" maxlength="4">
</div>
</div>
<div class="component-btns">

View File

@@ -19,7 +19,7 @@
</label>
</div>
<div class="input-field">
<input type="text" id="temp_input_0001" placeholder="이름을 입력해 주세요" th:field="*{ownerName}">
<input type="text" id="temp_input_0001" placeholder="이름을 입력해 주세요" th:field="*{ownerName}" maxlength="10">
</div>
</div>
<!-- 연령 -->
@@ -30,7 +30,7 @@
</label>
</div>
<div class="input-field">
<input type="number" id="temp_input_0002" placeholder="만 나이를 입력해 주세요" th:field="*{ownerAge}">
<input type="text" id="temp_input_0002" placeholder="만 나이를 입력해 주세요" th:field="*{ownerAge}" maxlength="3" oninput="this.value=this.value.replace(/[^0-9]/g,'')">
</div>
</div>
<!-- 가구연락처 -->
@@ -81,12 +81,12 @@
</div>
<div class="component-input">
<div class="input-field">
<input type="number" placeholder=0000 th:field="*{tel2}"/>
<input type="text" placeholder=0000 th:field="*{tel2}" maxlength="4" oninput="this.value=this.value.replace(/[^0-9]/g,'')"/>
</div>
</div>
<div class="component-input">
<div class="input-field">
<input type="number" placeholder=0000 th:field="*{tel3}"/>
<input type="text" placeholder=0000 th:field="*{tel3}" maxlength="4" oninput="this.value=this.value.replace(/[^0-9]/g,'')"/>
</div>
</div>
</div>
@@ -125,12 +125,12 @@
</div>
<div class="component-input">
<div class="input-field">
<input type="number" id="temp_input_0006" placeholder=0000 th:field="*{phone2}">
<input type="text" id="temp_input_0006" placeholder=0000 th:field="*{phone2}" maxlength="4" oninput="this.value=this.value.replace(/[^0-9]/g,'')">
</div>
</div>
<div class="component-input">
<div class="input-field">
<input type="number" id="temp_input_0007" placeholder=0000 th:field="*{phone3}">
<input type="text" id="temp_input_0007" placeholder=0000 th:field="*{phone3}" maxlength="4" oninput="this.value=this.value.replace(/[^0-9]/g,'')">
</div>
</div>
</div>
@@ -197,7 +197,7 @@
</div>
<div class="component-input">
<div class="input-field">
<input type="text" id="temp_input_00023" placeholder="세부 주소를 입력해 주세요" th:field="*{address}"/>
<input type="text" id="temp_input_00023" placeholder="세부 주소를 입력해 주세요" th:field="*{address}" maxlength="50"/>
</div>
</div>
</div>
@@ -279,7 +279,9 @@
let formControl = {
init(){
this._bindUI()
this._bindUI();
ajaxUtil._alert('select 010->10으로 노출\n 최초값 지정 및 값 취득 함수 필요\n 개인정보 작성 필요\n 모달 내부 스크롤 기능 추가 필요',null);
},
_bindUI(){
ENV.module.confirmPopup = document.querySelector(".confirmPopup").ui;