magic-amber
magic-amber16mo ago

Can I set antd useForms's redirect property to a show page from another resource?

Can I set antd useForms's redirect property to a show page from another resource?
5 Replies
kapa.ai
kapa.ai16mo ago
Hi @ahnaf1022. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
kapa.ai
kapa.ai16mo ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. However, you can refer to the refine documentation (https://refine.dev/docs) for more information on the topic. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai16mo ago
<@543682490951532554> kapa.ai is still learning and improving, please let us how it did by reacting below
frail-apricot
frail-apricot16mo ago
Hey @ahnaf1022, Of course you can, but you can't with the redirect prop. You need to set redirect: false. Then you can use useNavigation in the queryOptions.onSuccess callback. https://refine.dev/docs/api-reference/core/hooks/navigation/useNavigation/#list
magic-amber
magic-amber16mo ago
Thanks, will try that