Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add replace prop to Form #188

Open
kaciakmaciak opened this issue Apr 11, 2023 · 1 comment
Open

Add replace prop to Form #188

kaciakmaciak opened this issue Apr 11, 2023 · 1 comment

Comments

@kaciakmaciak
Copy link
Contributor

Could we please add replace prop to Form so that we can be submitting forms (method GET) and replacing the history. A use case would be e.g. when we have filter forms where the URL changes but we don't want to keep all the filter changes in the history (navigation back).

We've temporarily fixed this by patching the package as follows:

Screen Shot 2023-04-11 at 4 59 53 PM

I'm happy to help with this if you give me green light.

Thanks.

@danielweinmann
Copy link
Contributor

Hey, @kaciakmaciak! Yes, can you please send a PR? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants