This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[✨] action$ actionPath url params behave differently for <Form> vs <form> #94
Labels
[STAGE-2] incomplete implementation
Remove this label when implementation is complete
[STAGE-2] not fully covered by tests yet
Remove this label when tests are verified to cover the implementation
[STAGE-2] unresolved discussions left
Remove this label when all critical discussions are resolved on the issue
[STAGE-3] docs changes not added yet
Remove this label when the necessary documentation for the feature / change is added
[STAGE-3] missing 2 reviews for RFC PRs
Remove this label when at least 2 core team members reviewed and approved the RFC implementation
Is your feature request related to a problem?
When submitting a form with
<Form action={useAction} />
the actionPath keeps the current urls search params. If you submit a form with<form action={useAction.actionPath} />
you lose the urls search params.To keep url search params, i currently have to append to the
formAction.actionPath
Describe the solution you'd like
Should both ways of submitting a form behave the same? If so, maybe allow passing an option to disable keeping params (not sure if there is a use case for this)?
Describe alternatives you've considered
Also, for a separate issue, maybe there is a use case for an option like this?
Additional context
No response
The text was updated successfully, but these errors were encountered: