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

hx-boost with form not replacing URL #485

Closed
danjac opened this issue May 13, 2021 · 0 comments
Closed

hx-boost with form not replacing URL #485

danjac opened this issue May 13, 2021 · 0 comments

Comments

@danjac
Copy link

danjac commented May 13, 2021

This appears to be affecting forms with GET method (e.g. a search form) with hx-boost on a parent element:

<div hx-boost="true">
  <form method="GET" action="/search">
  <input type="search" name="q">
</div>

The action redirects to search e.g. "/search?q=something" but the URL is not updated. This however works using hx-push-url="true".

1cg pushed a commit that referenced this issue May 17, 2021
@1cg 1cg closed this as completed May 17, 2021
strangeRabbit777 added a commit to strangeRabbit777/high-power-tool that referenced this issue Aug 23, 2022
strangeRabbit777 added a commit to strangeRabbit777/high-power-tool that referenced this issue Aug 25, 2022
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