Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Fix edit list modal not clearing parent

Mohamed Bassemb992fadd44c2
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 />