refactor(FE): Update field name from 'isExpedition' to 'flags' in

handler
This commit is contained in:
rstubryan
2026-03-02 13:57:56 +07:00
parent f2b59ded3c
commit 0e5d38f75c
@@ -184,7 +184,7 @@ const NonstockForm = ({ type = 'add', initialValues }: NonstockFormProps) => {
}; };
const expeditionChangeHandler = (e: React.ChangeEvent<HTMLInputElement>) => { const expeditionChangeHandler = (e: React.ChangeEvent<HTMLInputElement>) => {
formik.setFieldValue('isExpedition', e.target.value === 'true'); formik.setFieldValue('flags', e.target.value === 'true');
}; };
useEffect(() => { useEffect(() => {