From 22d1d3402417dabc0df24336f7e14f6234cce25d Mon Sep 17 00:00:00 2001 From: hikahana <22.h.hanada.nutfes@gmail.com> Date: Mon, 11 Dec 2023 18:50:31 +0000 Subject: [PATCH] [feat] add item validation --- .../src/components/purchasereports/PurchaseReportAddModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/view/next-project/src/components/purchasereports/PurchaseReportAddModal.tsx b/view/next-project/src/components/purchasereports/PurchaseReportAddModal.tsx index bc5700ee5..d50557fc7 100644 --- a/view/next-project/src/components/purchasereports/PurchaseReportAddModal.tsx +++ b/view/next-project/src/components/purchasereports/PurchaseReportAddModal.tsx @@ -336,6 +336,7 @@ export default function PurchaseReportAddModal(props: ModalProps) { } isFinanceCheckHandler(formDataList[activeStep - 1].id, true); }} + disabled={formDataList[activeStep - 1].item.trim() === ''} >