fix(customers): clear filter text inputs on reset all
continuous-integration/drone/push Build is passing
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:
@@ -160,8 +160,8 @@ const useCustomerListPresenter = () => {
|
|||||||
status: undefined,
|
status: undefined,
|
||||||
role: undefined,
|
role: undefined,
|
||||||
type: undefined,
|
type: undefined,
|
||||||
full_name: undefined,
|
full_name: "",
|
||||||
email: undefined,
|
email: "",
|
||||||
company_id: undefined,
|
company_id: undefined,
|
||||||
});
|
});
|
||||||
setCompanySearch("");
|
setCompanySearch("");
|
||||||
|
|||||||
Reference in New Issue
Block a user