From b992fadd44c2be07efa6b1f85c9ec0be18b788fb Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sat, 19 Jul 2025 12:29:53 +0000
Subject: fix: Fix edit list modal not clearing parent

---
 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 e1dd49f4..5febf88c 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.resetField("parentId");
+                          form.setValue("parentId", "");
                         }}
                       >
                         <X />
-- 
cgit v1.2.3-70-g09d2

