From a3805e3b021c5559a23514d716b20d08a0090cee Mon Sep 17 00:00:00 2001 From: Junyi Date: Mon, 19 Jun 2023 11:34:08 +0700 Subject: [PATCH] fix(client): fix onchange mistake (#2075) --- packages/core/client/src/schema-component/antd/input/Json.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/input/Json.tsx b/packages/core/client/src/schema-component/antd/input/Json.tsx index fd1898309..ad10b1d2c 100644 --- a/packages/core/client/src/schema-component/antd/input/Json.tsx +++ b/packages/core/client/src/schema-component/antd/input/Json.tsx @@ -42,7 +42,6 @@ export const Json = React.forwardRef( field.setFeedback({}); onChange?.(v); } catch (err) { - onChange?.(ev); field.setFeedback({ type: 'error', code: 'JSONSyntaxError',