fix: setFormValueChanged undefined (#3879)

This commit is contained in:
katherinehhh 2024-03-30 18:30:46 +08:00 committed by GitHub
parent 59144f5008
commit 7b073727b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,7 @@ export function Result(props) {
}
setEditingValue(v);
props.onChange(v);
ctx.setFormValueChanged(false);
ctx?.setFormValueChanged?.(false);
});
});
const Component = TypedComponents[dataType] ?? InputString;