From b164d9a2fa3147cceec68b367590f873fc9ee3f3 Mon Sep 17 00:00:00 2001 From: gchust Date: Wed, 30 Apr 2025 09:42:35 +0800 Subject: [PATCH] fix: incorrect variable selection when first click to load data (#6802) * fix: incorrect variable selection when first click to load data * Revert "fix: incorrect variable selection when first click to load data" This reverts commit 0caa9a84b15c51cf87e03819c51b79d8be3e99e9. * fix: e2e tests --- .../core/client/src/schema-component/antd/variable/Input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/variable/Input.tsx b/packages/core/client/src/schema-component/antd/variable/Input.tsx index c19f9465e1..f4eb5bc0d9 100644 --- a/packages/core/client/src/schema-component/antd/variable/Input.tsx +++ b/packages/core/client/src/schema-component/antd/variable/Input.tsx @@ -484,7 +484,7 @@ export function Input(props: VariableInputProps) { value={variable ?? cValue} onChange={onSwitch} loadData={loadData as any} - changeOnSelect={changeOnSelect} + changeOnSelect={changeOnSelect ?? true} fieldNames={fieldNames} disabled={disabled} >