Resource gets created twice when submitting with enter
When I want to create resource, it gets created twice when I submit the antd form with enter. If click on the Save button with mouse, it works as it should - only creating one entity.
submitOnEnter functionality is implemented in your form setup. Based on the knowledge sources, there was a known issue where the submitOnEnter prop was incorrectly documented to be used inside refineCoreProps. The correct usage is to pass submitOnEnter directly to the useForm hook.submitOnEnter:useForm (https://refine.dev/docs/ui-integrations/ant-design/hooks/use-form/#submitonenter) or consider checking for any updates or related issues in the refine GitHub repository (https://github.com/refinedev/refine/issues).submitOnEntersubmitOnEntersubmitOnEntersubmitOnEnterrefineCorePropsuseFormuseFormconst { formProps } = useForm({
submitOnEnter: true,
});