optimistic-gold
optimistic-gold•2y ago

Why warnWhenUnsavedChanges show when I shift to different tabs?

I need help. I have a big form which compose of tabs to make it more user friendly. My issues: When I set some data to any fields, then shift to a different tab, it always asked me "Are you sure you want to leaved?" Thank you!
No description
2 Replies
sensitive-blue
sensitive-blue•2y ago
Hey @Sigmund, Can you open a issue with feat label? For now, you can't handle whether the alert show but we can be create a function like onWarnWhen to handle the warn alert 🚀 refine listens route changes when show the alerts.
optimistic-gold
optimistic-gold•2y ago
I see. Ok I will open an issue. Thank you! @salihozdemir already open an issue. [FEAT] #3129 Thanks.