Skip to content

BUG in 2.0.7 : hx-post on form does not prevent form to issue a GET request #3624

@ldurey

Description

@ldurey
<form
    hx-post="{{ url }}"
    hx-swap="none"
    hx-trigger="click once"
>
  <button>Whatever</button>
</form>

This code issue a GET request from form with the hx-post request.

The bug appeared in 2.0.7 as it's not showing in 2.0.6.

If you need more info, tell me i can elaborate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions