feat(sep): update datepicker component

This commit is contained in:
riefive
2025-09-10 15:19:40 +07:00
parent 582bd67cbe
commit fb8fde65d5
2 changed files with 35 additions and 7 deletions
+3 -3
View File
@@ -72,8 +72,8 @@ const onSubmit = handleSubmit((values) => {
<!-- Tanggal SEP & Jalur -->
<div class="grid gap-4 md:grid-cols-3">
<div class="flex flex-col gap-2">
<Label for="tanggalSep">Tanggal SEP</Label>
<DatepickerSingle v-model="tanggalSep" />
<Label for="tanggalSep">Tanggal SEP<span class="text-red-500">*</span></Label>
<DatepickerSingle v-model="tanggalSep" placeholder="Pilih tanggal sep" />
<p v-if="errors.tanggalSep" class="text-sm text-red-500">{{ errors.tanggalSep }}</p>
</div>
<div class="flex flex-col gap-2">
@@ -142,7 +142,7 @@ const onSubmit = handleSubmit((values) => {
</div>
<div class="flex flex-col gap-2">
<Label>Tanggal Surat Kontrol<span class="text-red-500">*</span></Label>
<Input v-model="tglSuratKontrol" />
<DatepickerSingle v-model="tglSuratKontrol" placeholder="Pilih tanggal surat kontrol" />
<p v-if="errors.tglSuratKontrol" class="text-sm text-red-500">{{ errors.tglSuratKontrol }}</p>
</div>
<div class="flex flex-row items-center gap-2">