From 0a28a1226f90f88020feade6f64f5dd47a0ae63c Mon Sep 17 00:00:00 2001 From: AmirReza Jamali Date: Wed, 1 Jul 2026 13:26:11 +0330 Subject: [PATCH] fix(customers): clear filter text inputs on reset all Reset full_name and email to empty strings instead of undefined so React Hook Form clears the uncontrolled input DOM values, matching the companies filter reset behavior. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/components/Tables/customers/useCustomerListPresenter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Tables/customers/useCustomerListPresenter.ts b/src/components/Tables/customers/useCustomerListPresenter.ts index de299f6..c777bef 100644 --- a/src/components/Tables/customers/useCustomerListPresenter.ts +++ b/src/components/Tables/customers/useCustomerListPresenter.ts @@ -160,8 +160,8 @@ const useCustomerListPresenter = () => { status: undefined, role: undefined, type: undefined, - full_name: undefined, - email: undefined, + full_name: "", + email: "", company_id: undefined, }); setCompanySearch("");