Allow form submission in iframes

This commit is contained in:
Chad Curtis committed 2025-12-06 20:33:01 +00:00
1 parent 3f792defcc
commit 8bad3cfc81
1 file changed
+1 -1
+1 -1
View File
@@ -713,7 +713,7 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o
src={`https://${projectId}.${previewDomain}/`}
className="w-full h-full border-0"
title="Project Preview"
sandbox="allow-scripts allow-same-origin"
sandbox="allow-scripts allow-same-origin allow-forms"
/>
) : (
<div className="h-full flex items-center justify-center bg-muted">