ratty-blush
ratty-blush2y ago

Is there a quick way to overwrite some data before shipping form?

Hi I'm currently using refine with MantineUI, and have a form created with useForm, which uses saveButtonProps to submit it.. I have to update some values of the form before shipping it to the server.. is there an easy way to do this?
2 Replies
crude-lavender
crude-lavender2y ago
Hey @kino90 we have a document about this. You can check here. https://refine.dev/docs/faq/#how-can-i-change-the-form-data-before-submitting-it-to-the-api
FAQ | refine
How can I change the form data before submitting it to the API?
ratty-blush
ratty-blush2y ago
Thanks I'll take a look!