From 0e5d38f75c2e2b0777acca4c87577bf0d361b1d1 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Mon, 2 Mar 2026 13:57:56 +0700 Subject: [PATCH] refactor(FE): Update field name from 'isExpedition' to 'flags' in handler --- src/components/pages/master-data/nonstock/form/NonstockForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/master-data/nonstock/form/NonstockForm.tsx b/src/components/pages/master-data/nonstock/form/NonstockForm.tsx index ccf0ecbe..3674ec09 100644 --- a/src/components/pages/master-data/nonstock/form/NonstockForm.tsx +++ b/src/components/pages/master-data/nonstock/form/NonstockForm.tsx @@ -184,7 +184,7 @@ const NonstockForm = ({ type = 'add', initialValues }: NonstockFormProps) => { }; const expeditionChangeHandler = (e: React.ChangeEvent) => { - formik.setFieldValue('isExpedition', e.target.value === 'true'); + formik.setFieldValue('flags', e.target.value === 'true'); }; useEffect(() => {