From 8bd3b586c6bc9f697f93f4c4b7083adabb479242 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Thu, 17 Jul 2025 08:51:13 +0000
Subject: fix(web): Fix the clear parent button in the edit list dialog. Fixes
 #1742

---
 apps/web/components/dashboard/lists/EditListModal.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'apps/web/components/dashboard/lists/EditListModal.tsx')

diff --git a/apps/web/components/dashboard/lists/EditListModal.tsx b/apps/web/components/dashboard/lists/EditListModal.tsx
index 467ce1a1..e1dd49f4 100644
--- a/apps/web/components/dashboard/lists/EditListModal.tsx
+++ b/apps/web/components/dashboard/lists/EditListModal.tsx
@@ -306,7 +306,7 @@ export function EditListModal({
                         type="button"
                         variant="ghost"
                         onClick={() => {
-                          form.reset({ parentId: null });
+                          form.resetField("parentId");
                         }}
                       >
                         <X />
-- 
cgit v1.2.3-70-g09d2

