sacred-roseS
Refine14mo ago
14 replies
sacred-rose

useForm redirects to list instead of show

I am useing useForm with react-hook-form . After successfull submit the user is redirected but to the list page not the show page as I have specified:

useForm<MyFormData>({
refineCoreProps: {
redirect: "show",
resource: "myresource",
action: "create",
},
})
Was this page helpful?