bigskysoftware / bigskysoftware/htmx

hx-boosted forms issue requests even when `method="dialog"` or `formmethod="dialog"`

Open
#2,554 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

As I understand it, hx-boost is meant only to replace standard browser requests with htmx ajax ones.
When using `method="dialog"` or `formmethod="dialog"` the browser doesn't issue a request, so hx-boost shouldn't to intervene.

Example:
```html


Create a new thing




Name:




Create
Cancel


```
When the cancel button is pressed, this will issue a request contrary to browser behaviour.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.