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](https://answer-overflow-discord-attachments.s3.amazonaws.com/1049242176854442024/Screen_Shot_2022-12-05_at_12.17.21_PM.png)
2 Replies
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•2y ago
I see. Ok I will open an issue. Thank you!
@salihozdemir already open an issue. [FEAT] #3129 Thanks.