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
This commit is contained in:
gchust 2025-04-30 09:42:35 +08:00 committed by GitHub
parent dfc5ec098c
commit b164d9a2fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -484,7 +484,7 @@ export function Input(props: VariableInputProps) {
value={variable ?? cValue} value={variable ?? cValue}
onChange={onSwitch} onChange={onSwitch}
loadData={loadData as any} loadData={loadData as any}
changeOnSelect={changeOnSelect} changeOnSelect={changeOnSelect ?? true}
fieldNames={fieldNames} fieldNames={fieldNames}
disabled={disabled} disabled={disabled}
> >