-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
refine/packages/core/src/hooks/form/index.ts
Line 241 in 4d3b671
if (!isPessimistic && !isAutosave) { |
refine/packages/core/src/hooks/form/index.ts
Line 291 in 4d3b671
if (isPessimistic && !isAutosave) { |
It is assumed that on success you want to always redirect. This should be made an opt-out. I use refine as a data abstraction layer and this is forcing a redirect after submitting a dialog form, away from the current page, which is not wanted.
Steps To Reproduce
n/a
Expected behavior
Don't redirect on success.
Packages
- @refinecore/dev
Additional Context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working