mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:05:45 +00:00
fix(client): show original field input component after cleared variable (#5028)
This commit is contained in:
parent
4590c754ce
commit
acae33a89d
@ -385,7 +385,7 @@ export function Input(props: VariableInputProps) {
|
||||
// eslint-disable-next-line react/no-unknown-property
|
||||
unselectable="on"
|
||||
onClick={() => {
|
||||
setIsFieldValue(false);
|
||||
setIsFieldValue(Boolean(children));
|
||||
onChange(null);
|
||||
}}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user