[FO] input number 에 min, max 추가

This commit is contained in:
김현주
2025-06-26 14:10:44 +09:00
parent a87e5b3959
commit 9e75730b9c
10 changed files with 38 additions and 38 deletions

View File

@@ -85,13 +85,13 @@
</div>
<div class="component-input">
<div class="input-field">
<input type="number" th:field="*{tel2}"
<input type="number" th:field="*{tel2}" min="0" max="9999"
maxlength="4" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)"/>
</div>
</div>
<div class="component-input">
<div class="input-field">
<input type="number" th:field="*{tel3}"
<input type="number" th:field="*{tel3}" min="0" max="9999"
maxlength="4" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)"/>
</div>
</div>
@@ -113,13 +113,13 @@
<div class="component-input">
<div class="input-field">
<input type="number" id="temp_input_0006" th:field="*{phone2}"
<input type="number" id="temp_input_0006" th:field="*{phone2}" min="0" max="9999"
maxlength="4" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)">
</div>
</div>
<div class="component-input">
<div class="input-field">
<input type="number" id="temp_input_0007" th:field="*{phone3}"
<input type="number" id="temp_input_0007" th:field="*{phone3}" min="0" max="9999"
maxlength="4" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)">
</div>
</div>