From f40ed1ab2ee5d09e88d7527e8410562b9d30afe9 Mon Sep 17 00:00:00 2001 From: AminGhasempoor Date: Wed, 8 May 2024 14:01:48 +0330 Subject: [PATCH] handle blure --- .../passenger-boss/Form/ConfirmForm/ConfirmContent.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/passenger-boss/Form/ConfirmForm/ConfirmContent.jsx b/src/components/dashboard/passenger-boss/Form/ConfirmForm/ConfirmContent.jsx index fbb6e32..b9dbf5f 100644 --- a/src/components/dashboard/passenger-boss/Form/ConfirmForm/ConfirmContent.jsx +++ b/src/components/dashboard/passenger-boss/Form/ConfirmForm/ConfirmContent.jsx @@ -441,7 +441,7 @@ const ConfirmContent = ({rowId, mutate, setOpenConfirmDialog, vehicle_type}) => formik.setFieldValue("repayment_period", formik.values.repayment_period) } }} - onBlur={formik.handleBlur} + onBlur={formik.handleBlur("repayment_period")} error={ formik.touched.repayment_period && Boolean(formik.errors.repayment_period)