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
Hi @ahnaf1022. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
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?
<@543682490951532554> kapa.ai is still learning and improving, please let us how it did by reacting below
foreign-sapphire•2y 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/#listgenetic-orange•2y ago
Thanks, will try that