From 1ffb0261196752308a48b9f87d32101427d82430 Mon Sep 17 00:00:00 2001 From: hanyujie2002 Date: Tue, 2 Apr 2024 23:19:52 +0800 Subject: [PATCH] fix form submitting problem in playground (#10819) --- client/src/playground/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/playground/index.tsx b/client/src/playground/index.tsx index bcaa1653b291..44d6fc410457 100644 --- a/client/src/playground/index.tsx +++ b/client/src/playground/index.tsx @@ -329,7 +329,7 @@ export default function Playground() { title="runner" ref={iframe} src={src.toString()} - sandbox="allow-scripts allow-same-origin" + sandbox="allow-scripts allow-same-origin allow-forms" >