exotic-emerald
exotic-emerald14mo 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.ai14mo 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.ai14mo 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.ai14mo ago
<@543682490951532554> kapa.ai is still learning and improving, please let us how it did by reacting below
conscious-sapphire
conscious-sapphire14mo 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
exotic-emerald
exotic-emerald14mo ago
Thanks, will try that