Skip to content

How to handle re-submitted form changes after user go back in browser history? #875

Discussion options

You must be logged in to vote

Oh I see your point @Sairahcaz, if it feels intuitive then I don't think its broken at all.

You can manipulate the browser history using window.history.replaceState, see replaceState() Mozilla docs.

I also recommend reading the full Inertia docs, not very long but very helpful, e.g. Remembering state and Replace link.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Sairahcaz
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Sairahcaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants