ordinary-sapphireO
Refine2y ago
139 replies
ordinary-sapphire

how to set custom url for antd useForm hook

const { id } = useParsed();
const { formProps, saveButtonProps, queryResult } = useForm();

I have this setup in my edit screen, and I want to specifically call api/user/getUser for the fetch, and i want to also set api/user/updateUser as the update url. How can i customize those?
Was this page helpful?