fix: useCreateActionProps (#1971)

This commit is contained in:
katherinehhh 2023-06-02 00:03:35 +08:00 committed by GitHub
parent 4b9150d448
commit 7e30b046d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ const EditableAssociationField = observer((props: any) => {
});
setTimeout(() => {
form.setValuesIn(field.props.name, values);
field.onInput(values)
}, 100);
} else {
const value = {
@ -40,6 +41,7 @@ const EditableAssociationField = observer((props: any) => {
};
setTimeout(() => {
form.setValuesIn(field.props.name, value);
field.onInput(value)
}, 100);
}
}