From c2272ee5e0ad7f3ffd0798e32565fb7672071415 Mon Sep 17 00:00:00 2001 From: randy-ar Date: Thu, 22 Jan 2026 16:20:40 +0700 Subject: [PATCH] hotfix(FE): fixing select input edit supplier in edit transaction --- src/components/pages/finance/add/FormFinanceAdd.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/pages/finance/add/FormFinanceAdd.tsx b/src/components/pages/finance/add/FormFinanceAdd.tsx index 4189521e..8dbe7572 100644 --- a/src/components/pages/finance/add/FormFinanceAdd.tsx +++ b/src/components/pages/finance/add/FormFinanceAdd.tsx @@ -251,7 +251,11 @@ const FormFinanceAdd = ({ } required isClearable - isDisabled={!formik.values.party_type_option?.value} + isDisabled={ + !formik.values.party_type_option?.value || + (type === 'edit' && + formik.values.party_type_option.value == 'SUPPLIER') + } />