fix(tapops): ganti input date native dengan dd/mm/yyyy text input terpisah agar tahun max 4 digit

This commit is contained in:
Dodo
2026-06-04 17:06:11 +07:00
parent 5bb704ac88
commit 9c1de91a82
3 changed files with 102 additions and 58 deletions
+12 -4
View File
@@ -946,12 +946,20 @@
<div class="control-group date-range-group">
<span class="control-label" data-tp-i18n="label_period">Periode Unggahan</span>
<div class="date-range-inputs">
<div class="input-wrapper">
<input type="date" id="date-start" placeholder="Mulai">
<div class="input-wrapper custom-date-input">
<input type="text" inputmode="numeric" maxlength="2" placeholder="DD" class="date-part date-dd" id="date-start-dd" autocomplete="off">
<span class="date-sep">/</span>
<input type="text" inputmode="numeric" maxlength="2" placeholder="MM" class="date-part date-mm" id="date-start-mm" autocomplete="off">
<span class="date-sep">/</span>
<input type="text" inputmode="numeric" maxlength="4" placeholder="YYYY" class="date-part date-yyyy" id="date-start-yyyy" autocomplete="off">
</div>
<span class="range-divider" data-tp-i18n="range_divider">s/d</span>
<div class="input-wrapper">
<input type="date" id="date-end" placeholder="Selesai">
<div class="input-wrapper custom-date-input">
<input type="text" inputmode="numeric" maxlength="2" placeholder="DD" class="date-part date-dd" id="date-end-dd" autocomplete="off">
<span class="date-sep">/</span>
<input type="text" inputmode="numeric" maxlength="2" placeholder="MM" class="date-part date-mm" id="date-end-mm" autocomplete="off">
<span class="date-sep">/</span>
<input type="text" inputmode="numeric" maxlength="4" placeholder="YYYY" class="date-part date-yyyy" id="date-end-yyyy" autocomplete="off">
</div>
</div>
</div>