fix(customers): clear filter text inputs on reset all
continuous-integration/drone/push Build is passing

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) <noreply@anthropic.com>
This commit is contained in:
AmirReza Jamali
2026-07-01 13:26:11 +03:30
parent 84482f3952
commit 0a28a1226f
@@ -160,8 +160,8 @@ const useCustomerListPresenter = () => {
status: undefined,
role: undefined,
type: undefined,
full_name: undefined,
email: undefined,
full_name: "",
email: "",
company_id: undefined,
});
setCompanySearch("");