How can I warn a user before they leave a page with a partially filled form? #3646
Unanswered
Victor-N-Suadicani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a form. Filling the form could take some time. Accidentally clicking a link could be disruptive for the user as they would lose all their form input. Is there some way that I could display a confirmation when clicking any link to make it less likely that the user accidentally clicks away from the page? If the user has not touched any of the form fields, no confirmation should be displayed.
I'm not sure how to achieve this with Yew.
Beta Was this translation helpful? Give feedback.
All reactions