diff --git a/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue b/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue index f89b3c9ee..a52667960 100644 --- a/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue +++ b/src/modules/04_registryNew/components/detail/Other/01_OtherInformation.vue @@ -48,8 +48,10 @@ const modalHistory = ref(false); const date = ref(null); const detail = ref(); +const dateRef = ref(null); const detailRef = ref(null); const objectRef: MyObjectRef = { + date: dateRef, detail: detailRef, }; @@ -472,6 +474,8 @@ onMounted(() => { outlined dense :model-value="date2Thai(date)" + :rules="[(val) => !!val || `${'กรุณาเลือกวันที่'}`]" + hide-bottom-space :label="`${'วันที่'}`" >