[FO] kri.form.maxlength 방식 변경

This commit is contained in:
김현주
2025-06-26 15:53:30 +09:00
parent f1eb2cd3f9
commit dea45f467f
11 changed files with 51 additions and 46 deletions

View File

@@ -121,7 +121,7 @@
</div>
<div class="input-field">
<input type="number" id="count" placeholder="수량을 입력해 주세요" name="count" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
<ul class="guide-info">
<li>예 : 2, 2.5</li>
@@ -182,7 +182,7 @@
<div class="input-field type-price">
<input type="number" id="price" name="price" placeholder="금액을 입력해 주세요"
class="limitAmountLength" min="1" max="9999999999"
maxlength="10" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)">
maxlength="10" inputmode="numeric" pattern="[0-9]*" >
<span class="input-field-txt">원</span>
</div>
<ul class="input-info" style="display:none">

View File

@@ -84,7 +84,7 @@
</div>
<div class="input-field">
<input type="number" id="count" placeholder="수량을 입력해 주세요" name="count" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
<ul class="guide-info">
<li>예 : 2, 2.5</li>
@@ -147,7 +147,7 @@
<div class="input-field type-price">
<input type="number" id="price" placeholder="금액을 입력해 주세요" name="price" min="1" max="9999999999"
class="limitAmountLength"
maxlength="10" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)">
maxlength="10" inputmode="numeric" pattern="[0-9]*" >
<span class="input-field-txt">원</span>
</div>
<ul class="input-info" style="display:none">

View File

@@ -63,7 +63,7 @@
<div class="input-field">
<input type="number" id="availableArea" placeholder="가능 면적을 입력해 주세요"
name="availableArea" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
</div>
</section>
@@ -97,7 +97,7 @@
<div class="input-field">
<input type="number" id="landArea" placeholder="작업 면적을 입력해 주세요"
name="landArea" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
<ul class="guide-info">
<li>예 : 180, 6</li>
@@ -118,7 +118,7 @@
<div class="input-field">
<input type="number" id="mainYield" placeholder="수확량을 입력해 주세요"
name="mainYield" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
</div>
@@ -177,7 +177,7 @@
<div class="input-field">
<input type="number" id="mainSaleAmount" placeholder="판매량을 입력해 주세요"
name="mainSaleAmount" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
</div>
@@ -236,7 +236,7 @@
<div class="input-field">
<input type="number" id="subYield" placeholder="수확량을 입력해 주세요"
name="subYield" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
</div>
@@ -295,7 +295,7 @@
<div class="input-field">
<input type="number" id="subSaleAmount" placeholder="판매량을 입력해 주세요"
name="subSaleAmount" class="limitDecimalLength" min="1" max="9999999999"
inputmode="decimal" pattern="[0-9]*" maxlength="10" oninput="kri.form.maxlength(this)">
inputmode="decimal" pattern="[0-9]*" maxlength="10" >
</div>
</div>

View File

@@ -86,13 +86,13 @@
<div class="component-input">
<div class="input-field">
<input type="number" th:field="*{tel2}" min="0" max="9999"
maxlength="4" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)"/>
maxlength="4" inputmode="numeric" pattern="[0-9]*" />
</div>
</div>
<div class="component-input">
<div class="input-field">
<input type="number" th:field="*{tel3}" min="0" max="9999"
maxlength="4" inputmode="numeric" pattern="[0-9]*" oninput="kri.form.maxlength(this)"/>
maxlength="4" inputmode="numeric" pattern="[0-9]*" />
</div>
</div>
</div>
@@ -114,13 +114,13 @@
<div class="component-input">
<div class="input-field">
<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)">
maxlength="4" inputmode="numeric" pattern="[0-9]*" >
</div>
</div>
<div class="component-input">
<div class="input-field">
<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)">
maxlength="4" inputmode="numeric" pattern="[0-9]*" >
</div>
</div>
</div>