useStepForm onFinish not working
👋 hey hey!
Can't change the form data before sending work within a useStepForm hook. I was trying to do this https://refine.dev/docs/api-reference/antd/hooks/form/useForm/#how-can-i-change-the-form-data-before-submitting-it-to-the-api but with a useStepForm
see https://codesandbox.io/embed/quizzical-sinoussi-hvxkut?fontsize=14&hidenavigation=1&theme=dark
I've modified the create page
Thank you in advance!
quizzical-sinoussi-hvxkut - CodeSandbox
quizzical-sinoussi-hvxkut using @pankod/refine-antd, @pankod/refine-cli, @pankod/refine-core, @pankod/refine-react-router-v6, @pankod/refine-simple-rest, @types/node, @types/react, @types/react-dom, @uiw/react-md-editor
useForm | refine
useForm is used to manage forms. It returns the necessary properties and methods to control the Antd Form. Also, it has been developed by using useForm imported from @pankod/refine-core package.
2 Replies
afraid-scarlet•3y ago
@.huford Hi,
you can use this, we will update our docs today. thank you 🙏
genetic-orangeOP•3y ago
thank you very much!